Commit cd65c459ec6fcce5baab2d1ca186ef099d412f5c
1 parent
963c5d04
Build the tests by default.
Fixes #143. There is no reason to make the tests optional.
Showing
2 changed files
with
2 additions
and
1 deletions
CHANGELOG.md
CMakeLists.txt
| ... | ... | @@ -35,7 +35,7 @@ project(cxxopts VERSION "${VERSION}") |
| 35 | 35 | enable_testing() |
| 36 | 36 | |
| 37 | 37 | option(CXXOPTS_BUILD_EXAMPLES "Set to ON to build examples" ON) |
| 38 | -option(CXXOPTS_BUILD_TESTS "Set to ON to build tests" OFF) | |
| 38 | +option(CXXOPTS_BUILD_TESTS "Set to ON to build tests" ON) | |
| 39 | 39 | |
| 40 | 40 | # request c++11 without gnu extension for the whole project and enable more warnings |
| 41 | 41 | if (CXXOPTS_CXX_STANDARD) | ... | ... |