CMake/OSX: Bugfix [#26375]: Add default values for the OSX architecture: x86_64 (also used to select the python dynlibs that'll be bundled with the application).

Set deployment target to be 10.5 by default.

Fix broken build introduced by recent source/creator/CMakeList.txt cleanup
This commit is contained in:
Damien Plisson
2011-03-07 21:28:36 +00:00
parent c39a109dae
commit df3688a05d
2 changed files with 16 additions and 0 deletions

View File

@@ -185,6 +185,8 @@ endif()
if(MSVC)
# ${CMAKE_CFG_INTDIR} should replace \${BUILD_TYPE} when using add_command
set(TARGETDIR ${EXECUTABLE_OUTPUT_PATH}/\${BUILD_TYPE})
elseif(APPLE)
set(TARGETDIR ${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR})
else()
set(TARGETDIR ${EXECUTABLE_OUTPUT_PATH})
endif()