diff options
-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) |