Set valijson_BUILD_TESTS OFF by default in cmake

Avoids extra unnecessary dependencies by default.
This commit is contained in:
Jon Petrissans 2022-01-30 18:48:45 +01:00
parent 50010fd959
commit 4622b958e4
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ project(valijson)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
option(valijson_BUILD_EXAMPLES "Build valijson examples." FALSE)
option(valijson_BUILD_TESTS "Build valijson test suite." TRUE)
option(valijson_BUILD_TESTS "Build valijson test suite." FALSE)
option(valijson_EXCLUDE_BOOST "Exclude Boost when building test suite." FALSE)
option(valijson_USE_EXCEPTIONS "Use exceptions in valijson and included libs." TRUE)

View File

@ -142,7 +142,7 @@ The examples and test suite can be built using cmake:
# Build examples and test suite
mkdir build
cd build
cmake ..
cmake .. -Dvalijson_BUILD_TESTS=ON -Dvalijson_BUILD_EXAMPLES=ON
make
# Run test suite (from build directory)