Merge pull request #33 from rkitover/master

fix Mac post-build bundle/link broken in a775cc4
This commit is contained in:
Christopher Snowhill 2016-11-02 19:06:55 -07:00 committed by GitHub
commit 87630fdf84
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ if(APPLE)
# budle dylibs and relink them for releasing .app # budle dylibs and relink them for releasing .app
# but only in Release mode # 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 ADD_CUSTOM_COMMAND(TARGET visualboyadvance-m POST_BUILD
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/tools/osx/third_party_libs_tool "$<TARGET_FILE_DIR:visualboyadvance-m>/../..") COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/tools/osx/third_party_libs_tool "$<TARGET_FILE_DIR:visualboyadvance-m>/../..")
ENDIF() ENDIF()