Skip to content

Commit

Permalink
Add dependency of ccpp-physics on gocart to CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
climbfuji committed Apr 20, 2021
1 parent 620b782 commit ce5901a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,17 @@ endif()
add_subdirectory(ccpp)
add_subdirectory(ccpp/data)
add_subdirectory(ccpp/driver)
add_dependencies(ccppphys ccpp)
add_dependencies(ccppphys ccpp gocart)
add_dependencies(ccppdata ccpp ccppphys)
add_dependencies(ccppdriver ccpp ccppphys ccppdata)
add_dependencies(fv3dycore ccppdriver ccpp ccppphys ccppdata)
target_include_directories(fv3dycore PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/ccpp/framework/src
${CMAKE_CURRENT_BINARY_DIR}/ccpp/physics
${CMAKE_CURRENT_BINARY_DIR}/ccpp/driver)

target_link_libraries(ccppphys PUBLIC sp::sp_d
w3nco::w3nco_d)
w3nco::w3nco_d
gocart)

###############################################################################
### stochastic_physics
Expand Down

0 comments on commit ce5901a

Please sign in to comment.