From cd3ba3160129f0f62641f4d1a8a2f18d05c3fc98 Mon Sep 17 00:00:00 2001 From: MartinPdeS Date: Mon, 9 Dec 2024 16:28:37 +0100 Subject: [PATCH] update --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e0a82931..4567664a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,7 +40,7 @@ message(STATUS "Binary will be installed in location: " ${SUPYMODE_BIN_DIR}) #Building EigenSolver---------------------------------------------- pybind11_add_module(EigenSolver MODULE "${SUPYMODE_CXX_DIR}/eigensolver_interface.cpp") set_target_properties(EigenSolver PROPERTIES OUTPUT_NAME "CppSolver") -target_link_libraries(EigenSolver PRIVATE "${Eigen_LIBRARIES}") +target_include_directories(EigenSolver PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/extern/eigen") target_link_options(EigenSolver PUBLIC ${STATIC_LINK_OPTIONS}) target_include_directories(EigenSolver PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/extern/eigen") target_include_directories(EigenSolver PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/extern/spectra/include")