Skip to content

Commit

Permalink
Fixes CMakeLists
Browse files Browse the repository at this point in the history
  • Loading branch information
PTNobel committed Nov 9, 2024
1 parent 5fc4836 commit 44b2fba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 44b2fba

Please sign in to comment.