Skip to content

Commit

Permalink
Add cxx_standard to 20
Browse files Browse the repository at this point in the history
  • Loading branch information
dudoslav committed May 20, 2024
1 parent bc166f7 commit f3ec205
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tiledb/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ target_link_libraries(
TileDB::tiledb_shared
)

target_compile_features(
libtiledb
PUBLIC
cxx_std_20
)

# Pybind11

pybind11_add_module(
Expand All @@ -44,6 +50,12 @@ target_link_libraries(
TileDB::tiledb_shared
)

target_compile_features(
main
PUBLIC
cxx_std_20
)

install(TARGETS main libtiledb DESTINATION tiledb)

if(TILEDB_DOWNLOADED)
Expand Down
6 changes: 6 additions & 0 deletions tiledb/cc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ target_link_libraries(
TileDB::tiledb_shared
)

target_compile_features(
cc
PUBLIC
cxx_std_20
)

install(TARGETS cc DESTINATION tiledb)

if(TILEDB_DOWNLOADED)
Expand Down

0 comments on commit f3ec205

Please sign in to comment.