cmake: disable test build by default

This commit is contained in:
Marc-André Moreau 2012-10-02 11:56:10 -04:00
parent ab7c952d80
commit 59016f1c6f
2 changed files with 2 additions and 1 deletions

View 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")

View 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()