Correcting a bug that crashed the cmake process if ran by CMakeGUI

This commit is contained in:
Hombre
2010-12-30 14:09:47 +01:00
parent a923d7fa9a
commit 89573dc3ca
2 changed files with 4 additions and 2 deletions

View File

@@ -8,6 +8,10 @@ set (CMAKE_BUILD_TYPE Debug CACHE STRING "One of: None Debug Release RelWithDebI
# gives the same result/behaviour as before.
set (RTENGINE_CXX_FLAGS "-ffast-math -funroll-loops" CACHE STRING "Special compilation flags for RTEngine")
if (WIN32)
set(CMAKE_PREFIX_PATH $ENV{MINGW_BASEPATH} $ENV{GTKMM_BASEPATH} CACHE STRING "Additional search paths")
endif (WIN32)
if (APPLE)
# SET (CMAKE_OSX_ARCHITECTURES "i386;x86_64;" )
# SET (CMAKE_TRY_COMPILE_OSX_ARCHITECTURES "i386;x86_64;" )