From 5ba4fd9e8ac5745f9b8cdded4a83902d5348e744 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 19 Jan 2004 09:30:09 -0500 Subject: ERR: Must include Dart module after PROJECT command. --- Source/kwsys/CMakeLists.txt | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt index 1a2b4b3..fe86f6c 100644 --- a/Source/kwsys/CMakeLists.txt +++ b/Source/kwsys/CMakeLists.txt @@ -77,18 +77,20 @@ IF(NOT KWSYS_NAMESPACE) SET(KWSYS_USE_Process 1) SET(KWSYS_USE_RegularExpression 1) SET(KWSYS_USE_SystemTools 1) +ENDIF(NOT KWSYS_NAMESPACE) + +#----------------------------------------------------------------------------- +# The project name is that of the specified namespace. +PROJECT(${KWSYS_NAMESPACE}) - # Enable testing. +# Enable testing if building standalone. +IF(KWSYS_STANDALONE) INCLUDE(${CMAKE_ROOT}/Modules/Dart.cmake) MARK_AS_ADVANCED(BUILD_TESTING DART_ROOT TCL_TCLSH) IF(BUILD_TESTING) ENABLE_TESTING() ENDIF(BUILD_TESTING) -ENDIF(NOT KWSYS_NAMESPACE) - -#----------------------------------------------------------------------------- -# The project name is that of the specified namespace. -PROJECT(${KWSYS_NAMESPACE}) +ENDIF(KWSYS_STANDALONE) # Do full dependency headers. INCLUDE_REGULAR_EXPRESSION("^.*$") -- cgit v0.12