diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-09-27 18:58:14 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-09-27 18:58:14 (GMT) |
commit | cc768c86c62aa5c6ea9dfe5c215bfe19dd991e3a (patch) | |
tree | 407db930144044dc3f1273131719c158e1080bc0 /Source/CMakeLists.txt | |
parent | 15e5c02a74091dded02ed8e3b1fdf962becf7283 (diff) | |
download | CMake-cc768c86c62aa5c6ea9dfe5c215bfe19dd991e3a.zip CMake-cc768c86c62aa5c6ea9dfe5c215bfe19dd991e3a.tar.gz CMake-cc768c86c62aa5c6ea9dfe5c215bfe19dd991e3a.tar.bz2 |
ENH: pass prefix from configure into cmake
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r-- | Source/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 9f87e80..a3e2d59 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -1,4 +1,8 @@ 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) @@ -84,6 +88,7 @@ IF(BUILD_TESTING) ENDIF(BUILD_TESTING) + INSTALL_TARGETS(/bin cmake) INSTALL_TARGETS(/bin ctest) |