Skip to content

Commit

Permalink
Merge pull request #799 from wildmeshing/mtao/cli11_dep
Browse files Browse the repository at this point in the history
Adding CLI11 dep explicitly
  • Loading branch information
mtao authored Sep 6, 2024
2 parents 837941f + 8e897e4 commit a41e38f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ include(fast_envelope)
include(bvh)
include(volume_mesher)
include(onetbb)
include(CLI11)

# Core library
add_library(wildmeshing_toolkit)
Expand Down
9 changes: 9 additions & 0 deletions cmake/recipes/CLI11.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
if (TARGET CLI11::CLI11)
return()
endif()

message(STATUS "Third-party (external): creating target 'CLI11::CLI11'")

include(CPM)
CPMAddPackage("gh:CLIUtils/[email protected]")

2 changes: 2 additions & 0 deletions cmake/recipes/fast_envelope.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ endif()
set(FAST_ENVELOPE_WITH_UNIT_TESTS OFF)
set(FAST_ENVELOPE_ENABLE_TBB OFF)

include(CLI11)

# HACK because there is a linker error on Windows otherwise
if(WIN32)
set(FAST_ENVELOPE_WITH_GEOGRAM_PREDICATES ON)
Expand Down

0 comments on commit a41e38f

Please sign in to comment.