Correcting a bug that crashed the cmake process if ran by CMakeGUI
This commit is contained in:
parent
a923d7fa9a
commit
89573dc3ca
@ -8,6 +8,10 @@ set (CMAKE_BUILD_TYPE Debug CACHE STRING "One of: None Debug Release RelWithDebI
|
|||||||
# gives the same result/behaviour as before.
|
# gives the same result/behaviour as before.
|
||||||
set (RTENGINE_CXX_FLAGS "-ffast-math -funroll-loops" CACHE STRING "Special compilation flags for RTEngine")
|
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)
|
if (APPLE)
|
||||||
# SET (CMAKE_OSX_ARCHITECTURES "i386;x86_64;" )
|
# SET (CMAKE_OSX_ARCHITECTURES "i386;x86_64;" )
|
||||||
# SET (CMAKE_TRY_COMPILE_OSX_ARCHITECTURES "i386;x86_64;" )
|
# SET (CMAKE_TRY_COMPILE_OSX_ARCHITECTURES "i386;x86_64;" )
|
||||||
|
@ -9,8 +9,6 @@ set(DATADIR . CACHE PATH "Datas installation path")
|
|||||||
set(BINDIR . CACHE PATH "Binaries installation path")
|
set(BINDIR . CACHE PATH "Binaries installation path")
|
||||||
set(LIBDIR . CACHE PATH "Libraries installation path")
|
set(LIBDIR . CACHE PATH "Libraries installation path")
|
||||||
|
|
||||||
set(CMAKE_PREFIX_PATH $ENV{MINGW_BASEPATH} $ENV{GTKMM_BASEPATH} CACHE STRING "Additional search paths")
|
|
||||||
|
|
||||||
set(BUILD_SHARED OFF CACHE BOOL "Should RT generate shared libraries")
|
set(BUILD_SHARED OFF CACHE BOOL "Should RT generate shared libraries")
|
||||||
set(WITH_RAWZOR ON CACHE BOOL "With Rawzor")
|
set(WITH_RAWZOR ON CACHE BOOL "With Rawzor")
|
||||||
set(OPTION_OMP ON CACHE BOOL "Use OpenMP to speedup the preview and batch processing")
|
set(OPTION_OMP ON CACHE BOOL "Use OpenMP to speedup the preview and batch processing")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user