CHANGES
- QT4.6 stable beta is out, to compile under SnowLeopard user NEED to upgrade to QT4.6 (if not we won't be able to link with exterior libraries :/)
This commit is contained in:
parent
0107042e04
commit
31ae717b32
|
@ -7,20 +7,6 @@ ENDIF(COMMAND CMAKE_POLICY)
|
||||||
|
|
||||||
SET(CMAKE_MODULE_PATH "${HURRICANE_SOURCE_DIR}/cmake_modules/")
|
SET(CMAKE_MODULE_PATH "${HURRICANE_SOURCE_DIR}/cmake_modules/")
|
||||||
|
|
||||||
IF(APPLE)
|
|
||||||
EXECUTE_PROCESS(
|
|
||||||
COMMAND sw_vers -productVersion
|
|
||||||
OUTPUT_VARIABLE OSX_VERSION
|
|
||||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
|
||||||
MESSAGE(STATUS "OSX_VERSION='${OSX_VERSION}'")
|
|
||||||
IF(${OSX_VERSION} MATCHES "^10\\.[012345]\\.?")
|
|
||||||
MESSAGE(STATUS "OSX < 10.6")
|
|
||||||
ELSE(${OSX_VERSION} MATCHES "^10\\.[012345]\\.?")
|
|
||||||
MESSAGE(STATUS "OSX >= 10.6")
|
|
||||||
SET(CMAKE_OSX_ARCHITECTURES "i386;ppc") # for QT4.5 32bits on snow leopard
|
|
||||||
ENDIF(${OSX_VERSION} MATCHES "^10\\.[012345]\\.?")
|
|
||||||
ENDIF(APPLE)
|
|
||||||
|
|
||||||
OPTION(BUILD_STATIC "Build static version of libraries & binaries" OFF)
|
OPTION(BUILD_STATIC "Build static version of libraries & binaries" OFF)
|
||||||
OPTION(BUILD_DOC "Build the documentation (doxygen)" OFF)
|
OPTION(BUILD_DOC "Build the documentation (doxygen)" OFF)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue