diff options
author | Damien Plisson <damien.plisson@yahoo.fr> | 2011-03-08 00:28:36 +0300 |
---|---|---|
committer | Damien Plisson <damien.plisson@yahoo.fr> | 2011-03-08 00:28:36 +0300 |
commit | df3688a05d5490615c952f0402e87717cc4a03ca (patch) | |
tree | 0c4f440b17b070e307d4de91ed3ddc021ac9c574 /source/creator/CMakeLists.txt | |
parent | c39a109dae3a704480bcb84e6a3c9f9a3d584f9f (diff) |
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
Diffstat (limited to 'source/creator/CMakeLists.txt')
-rw-r--r-- | source/creator/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index ba366c0ee51..03ec0aebc29 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -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() |