cmake: disable test build by default
This commit is contained in:
parent
ab7c952d80
commit
59016f1c6f
@ -80,7 +80,6 @@ if(MSVC)
|
|||||||
configure_msvc_runtime()
|
configure_msvc_runtime()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
# Compiler-specific flags
|
# Compiler-specific flags
|
||||||
if(CMAKE_COMPILER_IS_GNUCC)
|
if(CMAKE_COMPILER_IS_GNUCC)
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
|
||||||
|
@ -15,6 +15,8 @@ if(MSVC)
|
|||||||
option(WITH_WIN8 "Use Windows 8 libraries" OFF)
|
option(WITH_WIN8 "Use Windows 8 libraries" OFF)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
option(BUILD_TESTING "Build unit tests" OFF)
|
||||||
|
|
||||||
if(${CMAKE_VERSION} VERSION_GREATER 2.8.8)
|
if(${CMAKE_VERSION} VERSION_GREATER 2.8.8)
|
||||||
option(WITH_MONOLITHIC_BUILD "Use monolithic build" OFF)
|
option(WITH_MONOLITHIC_BUILD "Use monolithic build" OFF)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user