Changeset 6546
- Timestamp:
- 04/25/07 11:07:40
- Files:
-
- OpenThreads/trunk/CMakeLists.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
OpenThreads/trunk/CMakeLists.txt
r6488 r6546 197 197 # will overwrite any changes the user sets. 198 198 # FORCE is used because the options are not reflected in the UI otherwise. 199 IF(NOT "${OPENTHREADS_CONFIG_HAS_BEEN_RUN_BEFORE}")199 IF(NOT OPENTHREADS_CONFIG_HAS_BEEN_RUN_BEFORE) 200 200 # This is really fragile, but CMake doesn't provide the OS system 201 201 # version information we need. (Darwin versions can be changed … … 207 207 ELSE(EXISTS /Developer/SDKs/10.5.sdk) 208 208 IF(EXISTS /Developer/SDKs/MacOSX10.4u.sdk) 209 # Unix layer on Tiger is 64-bit clean/ready so I think 210 # it is okay to build 64-bit here. This presumes we 211 # keep non-64-bit ready APIs (e.g. Carbon) out 212 # of OpenThreads. 209 213 SET(CMAKE_OSX_ARCHITECTURES "ppc;i386;ppc64;x86_64" CACHE STRING "Build architectures for OSX" FORCE) 210 214 #SET(CMAKE_OSX_ARCHITECTURES "ppc;i386" CACHE STRING "Build architectures for OSX" FORCE) … … 214 218 ENDIF(EXISTS /Developer/SDKs/MacOSX10.4u.sdk) 215 219 ENDIF(EXISTS /Developer/SDKs/10.5.sdk) 216 ENDIF(NOT "${OPENTHREADS_CONFIG_HAS_BEEN_RUN_BEFORE}")220 ENDIF(NOT OPENTHREADS_CONFIG_HAS_BEEN_RUN_BEFORE) 217 221 ENDIF(APPLE) 218 222 … … 250 254 # This needs to be run very last so other parts of the scripts can take 251 255 # advantage of this. 252 IF(NOT "${OPENTHREADS_CONFIG_HAS_BEEN_RUN_BEFORE}")256 IF(NOT OPENTHREADS_CONFIG_HAS_BEEN_RUN_BEFORE) 253 257 SET(OPENTHREADS_CONFIG_HAS_BEEN_RUN_BEFORE 1 CACHE INTERNAL "Flag to track whether this is the first time running CMake or if CMake has been configured before") 254 ENDIF(NOT "${OPENTHREADS_CONFIG_HAS_BEEN_RUN_BEFORE}")255 256 258 ENDIF(NOT OPENTHREADS_CONFIG_HAS_BEEN_RUN_BEFORE) 259 260
