Skip to content

Commit

Permalink
fix Mac post-build bundle/link broken in a775cc4
Browse files Browse the repository at this point in the history
Instead of checking if CMAKE_BUILD_TYPE is "Release", check that it is
**NOT** "Debug", because by default CMAKE_BUILD_TYPE is empty.
  • Loading branch information
rkitover committed Nov 3, 2016
1 parent b7a633b commit ba043f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$<TARGET_FILE_DIR:visualboyadvance-m>/../..")
ENDIF()
Expand Down

0 comments on commit ba043f4

Please sign in to comment.