tools/CMakeLists.txt
changeset 2401 2a694ea2a437
parent 2220 110266ba2ef7
child 2546 5fa4aa6bb804
equal deleted inserted replaced
2400:2422ea85d100 2401:2a694ea2a437
    11 
    11 
    12 set_target_properties(bundle PROPERTIES POST_INSTALL_SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/CreateMacBundle.cmake)
    12 set_target_properties(bundle PROPERTIES POST_INSTALL_SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/CreateMacBundle.cmake)
    13 
    13 
    14 set(frameworks_dir ${bundle_name}/Contents/Frameworks/)
    14 set(frameworks_dir ${bundle_name}/Contents/Frameworks/)
    15 
    15 
       
    16 string(REGEX REPLACE "(.*);-.*" "\\1" sdl_dir "${SDL_LIBRARY}")
       
    17 
    16 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/CreateMacBundle.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/CreateMacBundle.cmake)
    18 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/CreateMacBundle.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/CreateMacBundle.cmake)
    17 
    19 
    18 endif()
    20 endif(APPLE AND BUNDLE)