Skip to content

Commit

Permalink
help finding Eigen dependency, needed by OpenCV
Browse files Browse the repository at this point in the history
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
  • Loading branch information
jamincollins committed Apr 30, 2024
1 parent ef815b8 commit ce91025
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libslic3r/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,8 @@ set(CGAL_DO_NOT_WARN_ABOUT_CMAKE_BUILD_TYPE ON CACHE BOOL "" FORCE)
cmake_policy(PUSH)
cmake_policy(SET CMP0011 NEW)
find_package(CGAL REQUIRED)
# OpenCV depends on Eigen3, but does not use find_package to find it.
find_package(Eigen3 CONFIG)
find_package(OpenCV REQUIRED core)
cmake_policy(POP)

Expand Down

0 comments on commit ce91025

Please sign in to comment.