Skip to content

Commit

Permalink
CMakeLists.txt: add dependency on CCPP for fv3cap library (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
climbfuji authored and DusanJovic-NOAA committed Jan 21, 2020
1 parent 1e3cdc1 commit d5bf24b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ add_library(

if(CCPP)
target_include_directories(fv3cap PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/ccpp/driver/mod)
add_dependencies(fv3cap ccppdriver ccppphys)
endif()
target_include_directories(fv3cap PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/stochastic_physics)
target_compile_definitions(fv3cap PRIVATE -DESMF_VERSION_MAJOR=${ESMF_VERSION_MAJOR})
Expand Down

0 comments on commit d5bf24b

Please sign in to comment.