mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 20:19:53 +00:00
use CMake_SOURCE and not CMAKE_ROOT
This commit is contained in:
parent
b1090a0600
commit
1bde29e9bd
@ -3,7 +3,7 @@ PROJECT(CMake)
|
||||
SUBDIRS(Source Modules Templates Utilities)
|
||||
|
||||
# Include the standard Dart testing module
|
||||
INCLUDE (${CMAKE_ROOT}/Modules/Dart.cmake)
|
||||
INCLUDE (${CMake_SOURCE_DIR}/Modules/Dart.cmake)
|
||||
INCLUDE (${CMAKE_BINARY_DIR}/Source/InitialConfigureFlags.cmake OPTIONAL)
|
||||
IF(CMAKE_CONFIGURE_INSTALL_PREFIX)
|
||||
SET(CMAKE_INSTALL_PREFIX ${CMAKE_CONFIGURE_INSTALL_PREFIX} )
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user