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.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/CTest/CMakeLists.txt b/Source/CTest/CMakeLists.txt
index 455ad97..cf7df78 100644
--- a/Source/CTest/CMakeLists.txt
+++ b/Source/CTest/CMakeLists.txt
@@ -20,12 +20,13 @@ SET(CTEST_SRCS
../cmCTest.cxx
cmCTestSubmit.cxx)
-MESSAGE( ${CMAKE_ROOT})
GET_FILENAME_COMPONENT(CMAKE_DIR ${CMAKE_LIBRARY} PATH)
-INCLUDE_DIRECTORIES(${CTEST_SOURCE_DIR}/..
+INCLUDE_DIRECTORIES(${CTEST_SOURCE_DIR}
+ ${CTEST_SOURCE_DIR}/..
${CTEST_SOURCE_DIR}/Curl
- ${CMAKE_DIR})
+ ${CMAKE_DIR}
+ ${CMAKE_DIR}/..)
ADD_DEFINITIONS(-DHAVE_CURL)
ADD_EXECUTABLE(ctest ${CTEST_SRCS})