summaryrefslogtreecommitdiffstats
path: root/CMakeVariables.make.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2000-09-12 10:44:19 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2000-09-12 10:44:19 (GMT)
commitc51cb239a4856d4aa63000107f3ae8e0ea04fa36 (patch)
treec323806d0b64d301480e9ab836b6aed229d57c84 /CMakeVariables.make.in
parent6c9d3df4d74180d397f4ffcdb0fd29751e18fa07 (diff)
downloadCMake-c51cb239a4856d4aa63000107f3ae8e0ea04fa36.zip
CMake-c51cb239a4856d4aa63000107f3ae8e0ea04fa36.tar.gz
CMake-c51cb239a4856d4aa63000107f3ae8e0ea04fa36.tar.bz2
BUG: fix build in place source directory
Diffstat (limited to 'CMakeVariables.make.in')
-rw-r--r--CMakeVariables.make.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeVariables.make.in b/CMakeVariables.make.in
index a2b5eeb..ac81b12 100644
--- a/CMakeVariables.make.in
+++ b/CMakeVariables.make.in
@@ -27,6 +27,9 @@ USER_CXXFLAGS = @CXXFLAGS@
# This is the path to the top of the Source tree
topdir = @fullSrcDir@
+# This is the directory that contains the source for the CMakeLists.txt file
+currentdir = `cd ${srcdir}; pwd`
+
# This is the directory configure was run in
# where the binaries will be placed
CMAKE_CONFIG_DIR = @CMAKE_CONFIG_DIR@