diff --git a/knik/CMakeLists.txt b/knik/CMakeLists.txt index 64402230..6217721a 100644 --- a/knik/CMakeLists.txt +++ b/knik/CMakeLists.txt @@ -2,19 +2,6 @@ PROJECT(KNIK) CMAKE_MINIMUM_REQUIRED(VERSION 2.4.0) -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]\\.?") - SET(CMAKE_OSX_ARCHITECTURES "i386;ppc") # for QT4.5 32bits on snow leopard - ENDIF(${OSX_VERSION} MATCHES "^10\\.[012345]\\.?") -ENDIF(APPLE) - SET(CMAKE_C_FLAGS_DEBUG "-g -Wall" CACHE STRING "Debug options." FORCE) SET(CMAKE_CXX_FLAGS_DEBUG "-g -Wall" CACHE STRING "Debug options." FORCE) #SET(CMAKE_LINKER_FLAGS_DEBUG "-pg" CACHE STRING "Debug options." FORCE)