Changeset 8071 for code/branches/kicklib/CMakeLists.txt
- Timestamp:
- Mar 14, 2011, 3:53:38 AM (14 years ago)
- Location:
- code/branches/kicklib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib
-
code/branches/kicklib/CMakeLists.txt
r7383 r8071 101 101 OPTION(ORXONOX_RELEASE "Enable when building restributable releases" FALSE) 102 102 103 IF(APPLE) 104 # Set 10.5 as the base SDK by default 105 SET(XCODE_ATTRIBUTE_SDKROOT macosx10.5) 106 107 # 10.6 sets x86_64 as the default architecture. 108 # Because Carbon isn't supported on 64-bit and we still need it, force the architectures to ppc and i386 109 IF(CMAKE_OSX_ARCHITECTURES MATCHES "x86_64") 110 SET(CMAKE_OSX_ARCHITECTURES "i386") 111 ENDIF() 112 IF(CMAKE_OSX_ARCHITECTURES MATCHES "ppc64") 113 SET(CMAKE_OSX_ARCHITECTURES "ppc") 114 ENDIF() 115 IF(NOT CMAKE_OSX_ARCHITECTURES) 116 SET(CMAKE_OSX_ARCHITECTURES "i386") 117 ENDIF() 118 ENDIF() 119 103 120 ########### Subfolders and Subscripts ########### 121 122 # General build and compiler options and configurations 123 INCLUDE(CompilerConfig) 104 124 105 125 # Library finding 106 126 INCLUDE(LibraryConfig) 107 108 # General build and compiler options and configurations109 INCLUDE(CompilerConfig)110 127 111 128 # Configure installation paths and options
Note: See TracChangeset
for help on using the changeset viewer.