Skip to content

Commit

Permalink
cmake: link Cabana against Cajita
Browse files Browse the repository at this point in the history
  • Loading branch information
junghans authored Sep 3, 2020
1 parent dd5cfd5 commit 95a61b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ if(Cabana_ENABLE_MPI)
target_link_libraries(cabanacore MPI::MPI_CXX)
endif()

if(Cabana_ENABLE_CAJITA)
target_link_libraries(cabanacore Cajita)
endif()

target_include_directories(cabanacore
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
Expand Down

0 comments on commit 95a61b3

Please sign in to comment.