Changeset 8071 for code/branches/kicklib/src/OrxonoxConfig.cmake
- Timestamp:
- Mar 14, 2011, 3:53:38 AM (13 years ago)
- Location:
- code/branches/kicklib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib
-
code/branches/kicklib/src/OrxonoxConfig.cmake
r7980 r8071 32 32 33 33 # Global switch to disable Precompiled Header Files 34 IF(PCH_COMPILER_SUPPORT) 34 # Note: PCH temporarily disabled on Mac because of severe problems 35 IF(PCH_COMPILER_SUPPORT AND NOT APPLE) 35 36 OPTION(PCH_ENABLE "Global PCH switch" TRUE) 36 37 ENDIF() … … 53 54 ENDIF() 54 55 55 # 32/64 bit system check56 IF(CMAKE_SIZEOF_VOID_P EQUAL 8)57 SET(ORXONOX_ARCH_64 TRUE)58 ELSE()59 SET(ORXONOX_ARCH_32 TRUE)60 ENDIF()61 62 56 # Platforms 63 57 SET(ORXONOX_PLATFORM_WINDOWS ${WIN32}) … … 74 68 CHECK_CXX_SOURCE_COMPILES("${_source}" HAVE_FORCEINLINE) 75 69 ENDIF(MSVC) 70 71 # Part of a woraround for OS X warnings. See OrxonoxConfig.h.in 72 IF(HAVE_STDINT_H) 73 SET(HAVE_STDINT_H 1) 74 ELSE() 75 SET(HAVE_STDINT_H 0) 76 ENDIF() 76 77 77 78 # Check iso646.h include (literal operators)
Note: See TracChangeset
for help on using the changeset viewer.