Skip to content

Commit f68a5d3

Browse files
try fix Cgal setup
1 parent 3e0c3db commit f68a5d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmake/importDependenciesHelpers.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@ macro(importDependency_LIBZIP _useSystem _target_dependencies _target_definition
184184
if ( ${_useSystem} )
185185
find_package(libzip REQUIRED)
186186
else()
187+
# disable these variables (unfortunately impact other project as Cgal)
188+
option(BUILD_EXAMPLES "Build examples" OFF)
189+
option(BUILD_DOC "Build documentation" OFF)
187190
FetchContent_Declare(libzip GIT_REPOSITORY https://github.com/nih-at/libzip.git GIT_TAG v1.11.4 GIT_SHALLOW ON )
188191
FetchContent_MakeAvailable(libzip)
189192
endif()

0 commit comments

Comments
 (0)