-
Notifications
You must be signed in to change notification settings - Fork 216
Open
Description
Hi,
since ply_c requires eigen3, this requirement should be stated in the CMakeLists.txt without it, the compilation will not be able to add the eigen3 include directories. Here is a patch that worked for me:
diff --git a/partition/ply_c/CMakeLists.txt b/partition/ply_c/CMakeLists.txt
index 169c98f..eaedb5a 100644
--- a/partition/ply_c/CMakeLists.txt
+++ b/partition/ply_c/CMakeLists.txt
@@ -13,8 +13,9 @@ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++11 -fopenmp -O3")
##############################
find_package(Boost 1.65.1 COMPONENTS python numpy REQUIRED)
+find_package(Eigen3 REQUIRED)
-include_directories(${Boost_INCLUDE_DIRS})
+include_directories(${Boost_INCLUDE_DIRS} ${EIGEN3_INCLUDE_DIRS})
link_directories(${Boost_LIBRARY_DIRS})
message("Boost includes ARE " ${Boost_INCLUDE_DIRS})Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels