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.
This commit is contained in:
parent
b7a633b70a
commit
ba043f4f97
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue