Skip to content

Commit

Permalink
cmake: Apply the same build options for C++ subtrees as for main code
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Jul 13, 2024
1 parent 2cad4ea commit eab5892
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -391,10 +391,6 @@ include(cmake/introspection.cmake)

include(cmake/ccache.cmake)

include(cmake/crc32c.cmake)
include(cmake/leveldb.cmake)
include(cmake/minisketch.cmake)

add_library(warn_interface INTERFACE)
target_link_libraries(core_interface INTERFACE warn_interface)
if(MSVC)
Expand Down Expand Up @@ -615,6 +611,9 @@ set(CMAKE_SKIP_INSTALL_RPATH TRUE)
add_subdirectory(test)
add_subdirectory(doc)

include(cmake/crc32c.cmake)
include(cmake/leveldb.cmake)
include(cmake/minisketch.cmake)
add_subdirectory(src)

include(cmake/tests.cmake)
Expand Down

0 comments on commit eab5892

Please sign in to comment.