Skip to content

Commit

Permalink
Add a configurable cmake include
Browse files Browse the repository at this point in the history
  • Loading branch information
davisp committed Dec 14, 2023
1 parent 896dc75 commit eee2faf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -608,3 +608,16 @@ add_custom_target(
COMMAND rmdir "${CMAKE_INSTALL_PREFIX}/include/tiledb"
COMMAND echo "TileDB uninstalled"
)

###########################################################
# Run the optional extra cmake include
###########################################################

if(TILEDB_EXTRA_CMAKE_INCLUDE)
get_filename_component(
EXTRA_INCLUDE_ABSPATH
"${TILEDB_EXTRA_CMAKE_INCLUDE}"
ABSOLUTE
)
include("${EXTRA_INCLUDE_ABSPATH}")
endif()
1 change: 1 addition & 0 deletions cmake/TileDB-Superbuild.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ set(INHERITED_CMAKE_ARGS
-DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS}
-DCMAKE_CXX_STANDARD=${CMAKE_CXX_STANDARD}
-DCOMPILER_SUPPORTS_AVX2=${COMPILER_SUPPORTS_AVX2}
-DTILEDB_EXTRA_CMAKE_INCLUDE=${TILEDB_EXTRA_CMAKE_INCLUDE}
-DTILEDB_VCPKG=${TILEDB_VCPKG}
-DTILEDB_VERBOSE=${TILEDB_VERBOSE}
-DTILEDB_ASSERTIONS=${TILEDB_ASSERTIONS}
Expand Down

0 comments on commit eee2faf

Please sign in to comment.