summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-08-22 19:48:19 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-08-22 19:48:19 (GMT)
commit6f5dc006821173d6682c9238ca58031455a821af (patch)
tree4680ef4767f4c03445887e9e109b763a992c7070 /Source
parent0ec4b84c91f1f5543fcad367d029e4ff6e569d63 (diff)
downloadCMake-6f5dc006821173d6682c9238ca58031455a821af.zip
CMake-6f5dc006821173d6682c9238ca58031455a821af.tar.gz
CMake-6f5dc006821173d6682c9238ca58031455a821af.tar.bz2
COMP: Add missing cmake file
Diffstat (limited to 'Source')
-rw-r--r--Source/kwsys/CMakeEmptyInputFile.in1
-rw-r--r--Source/kwsys/CheckCXXSourceRuns.cmake2
2 files changed, 2 insertions, 1 deletions
diff --git a/Source/kwsys/CMakeEmptyInputFile.in b/Source/kwsys/CMakeEmptyInputFile.in
new file mode 100644
index 0000000..40b7ea2
--- /dev/null
+++ b/Source/kwsys/CMakeEmptyInputFile.in
@@ -0,0 +1 @@
+@CMAKE_EMPTY_INPUT_FILE_CONTENT@
diff --git a/Source/kwsys/CheckCXXSourceRuns.cmake b/Source/kwsys/CheckCXXSourceRuns.cmake
index 7a086f3..14ebb43 100644
--- a/Source/kwsys/CheckCXXSourceRuns.cmake
+++ b/Source/kwsys/CheckCXXSourceRuns.cmake
@@ -29,7 +29,7 @@ MACRO(CHECK_CXX_SOURCE_RUNS SOURCE VAR COMMENT)
SET(CHECK_CXX_SOURCE_COMPILES_ADD_INCLUDES)
ENDIF(CMAKE_REQUIRED_INCLUDES)
SET(CMAKE_EMPTY_INPUT_FILE_CONTENT "${SOURCE}")
- CONFIGURE_FILE("${VTK_SOURCE_DIR}/CMake/CMakeEmptyInputFile.in"
+ CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/CMakeEmptyInputFile.in"
"${CMAKE_BINARY_DIR}/CMakeFiles/CMakeTmp/src.cxx")
MESSAGE(STATUS "Performing Test ${COMMENT}")