Skip to content

Commit

Permalink
Add deps to mcnp_func
Browse files Browse the repository at this point in the history
  • Loading branch information
bam241 committed Dec 6, 2024
1 parent a70afc9 commit 06fe6d4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/mcnp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ add_library(mcnp_funcs OBJECT mcnp_funcs.cpp)
message(STATUS "Building object library: meshtal_funcs")
add_library(meshtal_funcs OBJECT meshtal_funcs.cpp)

if(DDL_INSTALL_DEPS)
add_dependencies(mcnp_funcs MOAB)
add_dependencies(meshtal_funcs MOAB)
endif()


if (BUILD_MCNP5)
add_subdirectory(mcnp5)
endif ()
Expand Down

0 comments on commit 06fe6d4

Please sign in to comment.