summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-08-03 20:15:03 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2010-08-03 20:15:03 (GMT)
commit08c5e475abbf5a15f8457c41941a3b0cb16b1fb0 (patch)
tree63a7cc335928bd2eff28e2e1fbce9c95e6562d72 /Source
parent8c8aa7e8f64865fec6fef297c3cc564f3b6e2541 (diff)
parentdf1e00ff82c16bf01fdfc889ceea2d05205e14c6 (diff)
downloadCMake-08c5e475abbf5a15f8457c41941a3b0cb16b1fb0.zip
CMake-08c5e475abbf5a15f8457c41941a3b0cb16b1fb0.tar.gz
CMake-08c5e475abbf5a15f8457c41941a3b0cb16b1fb0.tar.bz2
Merge topic 'fix-cmake-self-references'
df1e00f Refer to self with CMake_(SOURCE|BINARY)_DIR (#10046)
Diffstat (limited to 'Source')
-rw-r--r--Source/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index dbbb558..b098da1 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -350,7 +350,7 @@ ENDIF(CMAKE_BUILD_ON_VISUAL_STUDIO OR MINGW)
# CTestLib
#
INCLUDE_DIRECTORIES(
- "${CMAKE_SOURCE_DIR}/Source/CTest"
+ "${CMake_SOURCE_DIR}/Source/CTest"
${CMAKE_XMLRPC_INCLUDES}
${CMAKE_CURL_INCLUDES}
)
@@ -493,8 +493,8 @@ IF(BUILD_QtDialog)
SUBDIRS(QtDialog)
ENDIF(BUILD_QtDialog)
-INCLUDE (${CMAKE_BINARY_DIR}/Source/LocalUserOptions.cmake OPTIONAL)
-INCLUDE (${CMAKE_SOURCE_DIR}/Source/LocalUserOptions.cmake OPTIONAL)
+INCLUDE (${CMake_BINARY_DIR}/Source/LocalUserOptions.cmake OPTIONAL)
+INCLUDE (${CMake_SOURCE_DIR}/Source/LocalUserOptions.cmake OPTIONAL)
INSTALL_TARGETS(/bin cmake)
INSTALL_TARGETS(/bin ctest)