Development build defaults to off

This commit is contained in:
Martin Hořeňovský 2020-04-25 18:18:45 +02:00
parent c078373f3f
commit d776a93a39
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -8,7 +8,7 @@ endif()
option(CATCH_INSTALL_DOCS "Install documentation alongside library" ON)
option(CATCH_INSTALL_EXTRAS "Install extras alongside library" ON)
option(CATCH_DEVELOPMENT_BUILD "Build tests, enable warnings, enable Werror, etc" ON)
option(CATCH_DEVELOPMENT_BUILD "Build tests, enable warnings, enable Werror, etc" OFF)
include(CMakeDependentOption)
cmake_dependent_option(CATCH_BUILD_TESTING "Build the SelfTest project" ON "CATCH_DEVELOPMENT_BUILD" OFF)