summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-03-11 20:25:50 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-03-11 20:25:50 (GMT)
commit0f19623edd23e0cbb4ccfe61d33fc2e72e733958 (patch)
treee94a712b9f2e71fd07e1a39ed7a7ace38a56fa31 /Source/CTest
parent729bc4cb6d4b7b0834a6e31aa36fa431f5ab0518 (diff)
downloadCMake-0f19623edd23e0cbb4ccfe61d33fc2e72e733958.zip
CMake-0f19623edd23e0cbb4ccfe61d33fc2e72e733958.tar.gz
CMake-0f19623edd23e0cbb4ccfe61d33fc2e72e733958.tar.bz2
BUG: fixes for hp
Diffstat (limited to 'Source/CTest')
-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})