From 44b2fba377cfc945c85f5ced7a51506c207afc2f Mon Sep 17 00:00:00 2001 From: Parth Nobel Date: Fri, 8 Nov 2024 22:36:39 -0800 Subject: [PATCH] Fixes CMakeLists --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index bf432ac..a27c06d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,6 +18,8 @@ find_package(pybind11 CONFIG REQUIRED) # this) python_add_library(_core MODULE cpp/src/wrapper.cpp WITH_SOABI) target_link_libraries(_core PRIVATE pybind11::headers) +target_include_directories(_core PRIVATE cpp/external/eigen/) +target_include_directories(_core PRIVATE cpp/include/) # This is passing in the version as a define just as an example target_compile_definitions(_core PRIVATE VERSION_INFO=${PROJECT_VERSION})