Skip to content

Commit

Permalink
fixed indirect predicates after major update by Marco Attene
Browse files Browse the repository at this point in the history
  • Loading branch information
mlivesu committed Sep 6, 2023
1 parent 0d23c6c commit bb19c53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cinolib-config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,10 @@ endif()

if(CINOLIB_USES_INDIRECT_PREDICATES)
message("CINOLIB OPTIONAL MODULE: Indirect Predicates")
target_compile_features(cinolib INTERFACE cxx_std_17) # Indirect predicates require C++17
FetchContent_Declare(indirect_predicates GIT_REPOSITORY "https://github.com/cinolib-dev-team/Indirect_Predicates.git")
FetchContent_MakeAvailable(indirect_predicates)
target_include_directories(cinolib INTERFACE ${indirect_predicates_SOURCE_DIR})
target_include_directories(cinolib INTERFACE ${indirect_predicates_SOURCE_DIR}/include)
target_compile_definitions(cinolib INTERFACE CINOLIB_USES_INDIRECT_PREDICATES)
endif()

Expand Down

0 comments on commit bb19c53

Please sign in to comment.