diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-02-01 14:28:20 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-02-01 14:28:20 (GMT) |
commit | 1bde29e9bd02a70ec41848ca7a6337982fc6bcfb (patch) | |
tree | 7e0d8ee1864afe1ad98a6f0d4ce91f975c206096 /Source | |
parent | b1090a0600272ea5d43a3bffc57c44a8dc2d531b (diff) | |
download | CMake-1bde29e9bd02a70ec41848ca7a6337982fc6bcfb.zip CMake-1bde29e9bd02a70ec41848ca7a6337982fc6bcfb.tar.gz CMake-1bde29e9bd02a70ec41848ca7a6337982fc6bcfb.tar.bz2 |
use CMake_SOURCE and not CMAKE_ROOT
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index d81f1ab..653c011 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -1,4 +1,4 @@ -INCLUDE (${CMAKE_ROOT}/Modules/FindFLTK.cmake) +INCLUDE (${CMake_SOURCE_DIR}/Modules/FindFLTK.cmake) IF(FLTK_LIBRARY) IF(FLTK_INCLUDE_PATH) OPTION(BUILD_FLTK_GUI "Build FLTK CMake GUI." "OFF") @@ -48,10 +48,10 @@ IF (WIN32) ENDIF (WIN32) IF (UNIX) - INCLUDE (${CMAKE_ROOT}/Modules/FindCurses.cmake OPTIONAL) + INCLUDE (${CMake_SOURCE_DIR}/Modules/FindCurses.cmake OPTIONAL) IF (CURSES_LIBRARY) SUBDIRS(CursesDialog/form) - INCLUDE(${CMAKE_ROOT}/Source/CursesDialog/CMakeLists.txt) + INCLUDE(${CMake_SOURCE_DIR}/Source/CursesDialog/CMakeLists.txt) ENDIF (CURSES_LIBRARY) ENDIF (UNIX) |