Diff of /config/cmake/Modules/VXLStandardOptions.cmake [65fe9d] .. [316432]  Maximize  Restore

Switch to side-by-side view

--- a/config/cmake/Modules/VXLStandardOptions.cmake
+++ b/config/cmake/Modules/VXLStandardOptions.cmake
@@ -21,7 +21,7 @@
 # Everything here should be valid for both the vxl source and for
 # client projects.
 
-INCLUDE( ${CMAKE_ROOT}/Modules/Dart.cmake )
+INCLUDE(CTest)
 
 IF( WIN32 )
   OPTION( BUILD_SHARED_LIBS "Should shared libraries be the default?" NO )
@@ -33,26 +33,6 @@
 IF( CMAKE_SYSTEM MATCHES "SunOS.*" )
   SET( SOLARIS 1 )
 ENDIF( CMAKE_SYSTEM MATCHES "SunOS.*" )
-
-# if this is a dashboard build
-IF( DART_ROOT )
-  ADD_DEFINITIONS( -DDART_BUILD )
-ENDIF( DART_ROOT)
-
-# Some people may want to build the test cases even though they aren't
-# using Dart.
-IF( NOT DART_ROOT )
-  IF( WIN32 )
-    OPTION( BUILD_TESTING "Should the tests be built?" NO )
-  ELSE( WIN32 )
-    OPTION( BUILD_TESTING "Should the tests be built?" YES )
-  ENDIF( WIN32 )
-
-  IF( BUILD_TESTING )
-    ENABLE_TESTING()
-  ENDIF( BUILD_TESTING )
-ENDIF( NOT DART_ROOT )
-OPTION( BUILD_TESTING "Should the tests be built?" YES )
 
 # By default, build examples when building tests.
 OPTION( BUILD_EXAMPLES "Should the examples be built?" ${BUILD_TESTING} )