From ba043f4f972758b8a6df627add9add1c66373bd2 Mon Sep 17 00:00:00 2001 From: Rafael Kitover Date: Wed, 2 Nov 2016 19:01:42 -0700 Subject: [PATCH] fix Mac post-build bundle/link broken in a775cc4 Instead of checking if CMAKE_BUILD_TYPE is "Release", check that it is **NOT** "Debug", because by default CMAKE_BUILD_TYPE is empty. --- src/wx/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wx/CMakeLists.txt b/src/wx/CMakeLists.txt index b700729df..2065c5f6c 100644 --- a/src/wx/CMakeLists.txt +++ b/src/wx/CMakeLists.txt @@ -249,7 +249,7 @@ if(APPLE) # budle dylibs and relink them for releasing .app # but only in Release mode - IF(CMAKE_BUILD_TYPE STREQUAL "Release") + IF(NOT CMAKE_BUILD_TYPE STREQUAL "Debug") ADD_CUSTOM_COMMAND(TARGET visualboyadvance-m POST_BUILD COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/tools/osx/third_party_libs_tool "$/../..") ENDIF()