cmake: disable test build by default
authorMarc-André Moreau <marcandre.moreau@gmail.com>
Tue, 2 Oct 2012 15:56:10 +0000 (11:56 -0400)
committerMarc-André Moreau <marcandre.moreau@gmail.com>
Tue, 2 Oct 2012 15:56:10 +0000 (11:56 -0400)
CMakeLists.txt
cmake/ConfigOptions.cmake

index 80c8f38..e5eaa9a 100644 (file)
@@ -80,7 +80,6 @@ if(MSVC)
        configure_msvc_runtime()
 endif()
 
-
 # Compiler-specific flags
 if(CMAKE_COMPILER_IS_GNUCC)
        set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
index 76fa33a..908cadd 100644 (file)
@@ -15,6 +15,8 @@ if(MSVC)
        option(WITH_WIN8 "Use Windows 8 libraries" OFF)
 endif()
 
+option(BUILD_TESTING "Build unit tests" OFF)
+
 if(${CMAKE_VERSION} VERSION_GREATER 2.8.8)
        option(WITH_MONOLITHIC_BUILD "Use monolithic build" OFF)
 endif()