Skip to content

Commit 4f271a7

Browse files
author
Philemon Benner
committed
do not build leveldb tests and benchmarks
1 parent 474bcd5 commit 4f271a7

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,13 @@ if(ORYX_KVDB_BUILD_DEPS)
2929
OVERRIDE_FIND_PACKAGE
3030
)
3131

32-
set(LEVELDB_BUILD_BENCHMARKS OFF)
33-
set(LEVELDB_BUILD_TESTS OFF)
32+
option(LEVELDB_BUILD_BENCHMARKS "Build LevelDB benchmarks" OFF)
33+
option(LEVELDB_BUILD_TESTS "Build LevelDB tests" OFF)
34+
#option(REFLECTCPP_INSTALL "Install ReflectCpp" ON)
3435
FetchContent_MakeAvailable(reflectcpp leveldb)
3536

3637
add_library(reflectcpp::reflectcpp ALIAS reflectcpp)
3738
add_library(leveldb::leveldb ALIAS leveldb)
38-
39-
install(TARGETS reflectcpp EXPORT ${PROJECT_NAME}-exports)
40-
install(TARGETS leveldb EXPORT ${PROJECT_NAME}-exports)
4139
else()
4240
find_package(reflectcpp CONFIG REQUIRED)
4341
find_package(leveldb CONFIG REQUIRED)

0 commit comments

Comments
 (0)