Skip to content

Commit

Permalink
fix cant find eigen3
Browse files Browse the repository at this point in the history
  • Loading branch information
xnaut committed May 14, 2024
1 parent 8696c1c commit aff19b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LNLib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ set(EIGEN_BUILD_TESTING OFF)
set(EIGEN_MPL2_ONLY ON)
set(EIGEN_BUILD_PKGCONFIG OFF)
set(EIGEN_BUILD_DOC OFF)

target_include_directories(${TARGET_NAME} PRIVATE Eigen3::Eigen)
FetchContent_Populate(Eigen)
target_include_directories(${TARGET_NAME} PRIVATE ${CMAKE_BINARY_DIR}/_deps/eigen-src)

file(GLOB rootfiles *.cpp *.h)
source_group("" FILES ${rootfiles})
Expand Down

0 comments on commit aff19b8

Please sign in to comment.