Skip to content
Snippets Groups Projects
Commit 488d42f4 authored by Julien Malik's avatar Julien Malik
Browse files

ENH: set testing option before call to enable_testing()

parent 984de17e
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,10 @@ INCLUDE (${CMAKE_ROOT}/Modules/CMakeBackwardCompatibilityCXX.cmake)
#-----------------------------------------------------------------------------
# Configure Dart testing support. This should be done before any
# MESSAGE(FATAL_ERROR ...) commands are invoked.
OPTION(BUILD_TESTING "Build testing." OFF)
OPTION(BUILD_EXAMPLES "Build the Examples directory." OFF)
INCLUDE(${CMAKE_ROOT}/Modules/Dart.cmake)
MARK_AS_ADVANCED(TCL_TCLSH DART_ROOT)
ENABLE_TESTING()
......@@ -63,8 +67,6 @@ ENDIF(BUILD_TESTING)
INCLUDE(CommonDefinitions)
OPTION(BUILD_TESTING "Build testing." OFF)
OPTION(BUILD_EXAMPLES "Build the Examples directory." OFF)
#-----------------------------------------------------------------------------
# Option to activate deprecated classes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment