Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ option(KOTA_ENABLE_ZEST "Build zest test framework target" OFF)
option(KOTA_CODEC_ENABLE_SIMDJSON "Enable simdjson dependency for kota::codec" OFF)
option(KOTA_CODEC_ENABLE_FLATBUFFERS "Enable flatbuffers dependency for kota::codec" OFF)
option(KOTA_CODEC_ENABLE_TOML "Enable tomlplusplus dependency for kota::codec" OFF)
option(KOTA_CODEC_ENABLE_YAML "Enable yaml-cpp dependency for kota::codec" OFF)
option(KOTA_BUILD_ALL_TESTS "Enable all optional test suites for CI" OFF)
option(KOTA_ENABLE_EXCEPTIONS "Build kotatsu targets with exception support" ON)
option(KOTA_ENABLE_RTTI "Build kotatsu targets with RTTI support" ON)
Expand Down Expand Up @@ -284,6 +285,11 @@ if(KOTA_BUILD_ALL_TESTS)
message(STATUS "KOTA_BUILD_ALL_TESTS=ON: enabling KOTA_CODEC_ENABLE_TOML")
set(KOTA_CODEC_ENABLE_TOML ON CACHE BOOL "Enable tomlplusplus dependency for kota::codec" FORCE)
endif()

if(NOT KOTA_CODEC_ENABLE_YAML)
message(STATUS "KOTA_BUILD_ALL_TESTS=ON: enabling KOTA_CODEC_ENABLE_YAML")
set(KOTA_CODEC_ENABLE_YAML ON CACHE BOOL "Enable yaml-cpp dependency for kota::codec" FORCE)
endif()
endif()

if(KOTA_ENABLE_TEST)
Expand Down
Loading
Loading