Skip to content

Commit

Permalink
Make tests optional
Browse files Browse the repository at this point in the history
  • Loading branch information
dudoslav committed Sep 9, 2024
1 parent 1ded335 commit 572d827
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions libtiledbvcf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ option(TILEDB_S3 "Enables S3/minio support using aws-cpp-sdk" ON)
option(TILEDB_WERROR "Enables warnings as errors (-Werror)" ON)
option(OVERRIDE_INSTALL_PREFIX "Ignores the setting of CMAKE_INSTALL_PREFIX and sets a default prefix" ON)
option(TILEDB_ENABLE_PYTHON "TODO: FILL" OFF)
option(TILEDB_ENABLE_TESTS "TODO: FILL" OFF)

message(STATUS "CMAKE_MODULE_PATH: ${CMAKE_MODULE_PATH}")
message(STATUS "CMAKE_PREFIX_PATH: ${CMAKE_PREFIX_PATH}")
Expand Down Expand Up @@ -153,11 +154,13 @@ set(EP_INSTALL_PREFIX "${EP_BASE}/install")
# Regular build
############################################################

# Enable testing
enable_testing()

add_subdirectory(src)
add_subdirectory(test)

if (TILEDB_ENABLE_TESTS)
# Enable testing
enable_testing()
add_subdirectory(test)
endif()

if (TILEDB_ENABLE_PYTHON)
add_subdirectory(../apis/python apis/python)
Expand Down

0 comments on commit 572d827

Please sign in to comment.