summaryrefslogtreecommitdiffstats
path: root/Source/CTest/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CTest/CMakeLists.txt')
-rw-r--r--Source/CTest/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/CTest/CMakeLists.txt b/Source/CTest/CMakeLists.txt
index 72daf1e..455ad97 100644
--- a/Source/CTest/CMakeLists.txt
+++ b/Source/CTest/CMakeLists.txt
@@ -20,8 +20,12 @@ SET(CTEST_SRCS
../cmCTest.cxx
cmCTestSubmit.cxx)
+MESSAGE( ${CMAKE_ROOT})
+GET_FILENAME_COMPONENT(CMAKE_DIR ${CMAKE_LIBRARY} PATH)
+
INCLUDE_DIRECTORIES(${CTEST_SOURCE_DIR}/..
- ${CTEST_SOURCE_DIR}/Curl)
+ ${CTEST_SOURCE_DIR}/Curl
+ ${CMAKE_DIR})
ADD_DEFINITIONS(-DHAVE_CURL)
ADD_EXECUTABLE(ctest ${CTEST_SRCS})