diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-09-29 12:58:45 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-09-29 12:58:45 (GMT) |
commit | fdf589d2daff8a6c027585139025085fbd65c041 (patch) | |
tree | 4754b3a5a8baaa3410f92035a3f91ac99451cf2d /Source/kwsys/CMakeLists.txt | |
parent | f3cfe48152db51b08944474c53788dfabeb6d7ba (diff) | |
download | CMake-fdf589d2daff8a6c027585139025085fbd65c041.zip CMake-fdf589d2daff8a6c027585139025085fbd65c041.tar.gz CMake-fdf589d2daff8a6c027585139025085fbd65c041.tar.bz2 |
ENH: Allow CMake to use CommandLineArguments without warning
Diffstat (limited to 'Source/kwsys/CMakeLists.txt')
-rw-r--r-- | Source/kwsys/CMakeLists.txt | 8 |
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) |