Skip to content

Commit

Permalink
Add openmp libraries and boost directories to rmagine core build, ena…
Browse files Browse the repository at this point in the history
…bling compilation on macos
  • Loading branch information
themightyoarfish committed Feb 21, 2024
1 parent 65f1779 commit cc25c57
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/rmagine_core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,14 @@ target_include_directories(rmagine-core
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/rmagine-${rmagine_VERSION}>
${ASSIMP_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)

target_link_libraries(rmagine-core
${ASSIMP_LIBRARIES}
Eigen3::Eigen
${Boost_LIBRARIES}
${OpenMP_CXX_LIBRARIES}
)

target_compile_features(rmagine-core PRIVATE cxx_std_17)
Expand Down

0 comments on commit cc25c57

Please sign in to comment.