summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-09-29 12:58:45 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-09-29 12:58:45 (GMT)
commitfdf589d2daff8a6c027585139025085fbd65c041 (patch)
tree4754b3a5a8baaa3410f92035a3f91ac99451cf2d /Source
parentf3cfe48152db51b08944474c53788dfabeb6d7ba (diff)
downloadCMake-fdf589d2daff8a6c027585139025085fbd65c041.zip
CMake-fdf589d2daff8a6c027585139025085fbd65c041.tar.gz
CMake-fdf589d2daff8a6c027585139025085fbd65c041.tar.bz2
ENH: Allow CMake to use CommandLineArguments without warning
Diffstat (limited to 'Source')
-rw-r--r--Source/kwsys/CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt
index f4edfc9..f18cdf0 100644
--- a/Source/kwsys/CMakeLists.txt
+++ b/Source/kwsys/CMakeLists.txt
@@ -257,9 +257,11 @@ ENDFOREACH(c)
IF(KWSYS_USE_CommandLineArguments)
IF(NOT ParaView_SOURCE_DIR)
- IF(NOT KWSYS_STANDALONE)
- MESSAGE("Command Line Arguments is experimental code for now")
- ENDIF(NOT KWSYS_STANDALONE)
+ IF(NOT CMake_SOURCE_DIR)
+ IF(NOT KWSYS_STANDALONE)
+ MESSAGE("Command Line Arguments is experimental code for now")
+ ENDIF(NOT KWSYS_STANDALONE)
+ ENDIF(NOT CMake_SOURCE_DIR)
ENDIF(NOT ParaView_SOURCE_DIR)
ENDIF(KWSYS_USE_CommandLineArguments)