diff options
-rw-r--r-- | CMakeLists.txt | 4 | ||||
-rw-r--r-- | Source/CMakeLists.txt | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a323468..9412e67 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,10 @@ SUBDIRS(Source Modules Templates) # Include the standard Dart testing module INCLUDE (${CMAKE_ROOT}/Modules/Dart.cmake) +INCLUDE (${CMAKE_BINARY_DIR}/Source/InitialConfigureFlags.cmake) +IF(CMAKE_CONFIGURE_INSTALL_PREFIX) + SET(CMAKE_INSTALL_PREFIX ${CMAKE_CONFIGURE_INSTALL_PREFIX} ) +ENDIF(CMAKE_CONFIGURE_INSTALL_PREFIX) # use the ansi CXX compile flag for building cmake IF (CMAKE_ANSI_CXXFLAGS) diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index a3e2d59..2c4410b 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -1,8 +1,4 @@ INCLUDE (${CMAKE_ROOT}/Modules/FindFLTK.cmake) -INCLUDE (${CMAKE_BINARY_DIR}/Source/InitialConfigureFlags.cmake) -IF(CMAKE_CONFIGURE_INSTALL_PREFIX) - SET(CMAKE_INSTALL_PREFIX ${CMAKE_CONFIGURE_INSTALL_PREFIX} ) -ENDIF(CMAKE_CONFIGURE_INSTALL_PREFIX) IF(FLTK_LIBRARY) IF(FLTK_INCLUDE_PATH) |