Build the tests by default.

Fixes #143. There is no reason to make the tests optional.
This commit is contained in:
Jarryd Beck 2018-11-07 18:52:40 +11:00
parent 963c5d0494
commit cd65c459ec
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ options. The project adheres to semantic versioning.
### Changed
* Allow integers to have leading zeroes.
* Build the tests by default.
### Added

View File

@ -35,7 +35,7 @@ project(cxxopts VERSION "${VERSION}")
enable_testing()
option(CXXOPTS_BUILD_EXAMPLES "Set to ON to build examples" ON)
option(CXXOPTS_BUILD_TESTS "Set to ON to build tests" OFF)
option(CXXOPTS_BUILD_TESTS "Set to ON to build tests" ON)
# request c++11 without gnu extension for the whole project and enable more warnings
if (CXXOPTS_CXX_STANDARD)