Skip to content

Commit

Permalink
fix finding of Eigen3 package
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch authored and christian-rauch committed Jan 18, 2024
1 parent a353b41 commit d67f73b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/pango_geometry/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
get_filename_component(COMPONENT ${CMAKE_CURRENT_LIST_DIR} NAME)

find_package (Eigen3 REQUIRED QUIET)
find_package(Eigen3 REQUIRED NO_MODULE)
target_compile_definitions(${COMPONENT} PUBLIC HAVE_EIGEN)

target_sources( ${COMPONENT}
Expand Down
2 changes: 1 addition & 1 deletion components/pango_image/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
get_filename_component(COMPONENT ${CMAKE_CURRENT_LIST_DIR} NAME)

find_package (Eigen3 REQUIRED QUIET)
find_package(Eigen3 REQUIRED NO_MODULE)
target_compile_definitions(${COMPONENT} PUBLIC HAVE_EIGEN)

option(BUILD_PANGOLIN_LIBPNG "Build support for libpng image input" ON)
Expand Down
2 changes: 1 addition & 1 deletion components/pango_opengl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ PRIVATE
${CMAKE_CURRENT_BINARY_DIR}/shaders.cpp
)

find_package (Eigen3 REQUIRED QUIET)
find_package(Eigen3 REQUIRED NO_MODULE)
message(STATUS "Found Eigen: '${EIGEN3_INCLUDE_DIRS}'")
target_compile_definitions(${COMPONENT} PUBLIC HAVE_EIGEN HAVE_GLEW)

Expand Down

0 comments on commit d67f73b

Please sign in to comment.