Skip to content

Commit

Permalink
Revert "feat: allow to exclude dependencies"
Browse files Browse the repository at this point in the history
This reverts commit 8d9bd73.
  • Loading branch information
Curve committed Mar 14, 2024
1 parent 8d9bd73 commit aa693ce
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ project(
option(VIENNALS_USE_VTK "Build with VTK file support" ON)

option(VIENNALS_PRECOMPILE_HEADERS "Build template specialisations for shorter compile times" OFF)
option(VIENNALS_EXCLUDE_DEPENDENCIES "Exclude dependencies from install" OFF)
option(VIENNALS_STATIC_BUILD "Build dependencies as static libraries" OFF)

option(VIENNALS_ENABLE_SANITIZER "Enable Sanitizer for debug buidlds" OFF)
Expand Down Expand Up @@ -96,8 +95,7 @@ CPMAddPackage(
CPMFindPackage(
NAME ViennaHRLE
VERSION 0.4.0
GIT_REPOSITORY "https://github.com/ViennaTools/ViennaHRLE"
EXCLUDE_FROM_ALL ${VIENNALS_EXCLUDE_DEPENDENCIES})
GIT_REPOSITORY "https://github.com/ViennaTools/ViennaHRLE")

find_package(OpenMP REQUIRED)
target_link_libraries(${PROJECT_NAME} INTERFACE OpenMP::OpenMP_CXX ViennaHRLE)
Expand All @@ -115,7 +113,6 @@ if(VIENNALS_USE_VTK)
GIT_TAG 99bd602bdbe8024c55e8382f7cf1013d42a14601
VERSION 9.0.0
GIT_REPOSITORY "https://gitlab.kitware.com/vtk/vtk"
EXCLUDE_FROM_ALL ${VIENNALS_EXCLUDE_DEPENDENCIES}
OPTIONS "VTK_LEGACY_REMOVE ON"
"VTK_SMP_IMPLEMENTATION_TYPE \"OpenMP\""
"VTK_GROUP_ENABLE_Rendering NO"
Expand Down

0 comments on commit aa693ce

Please sign in to comment.