Skip to content

Commit

Permalink
add yaml-cpp as a submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
BenWibking committed Sep 5, 2023
1 parent 1b5d55d commit 86299c0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@
path = extern/Microphysics
url = https://github.com/psharda/Microphysics
branch = development
[submodule "extern/yaml-cpp"]
path = extern/yaml-cpp
url = https://github.com/jbeder/yaml-cpp.git
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ endif()

add_subdirectory(${QuokkaCode_SOURCE_DIR}/extern/amrex ${QuokkaCode_BINARY_DIR}/amrex)
add_subdirectory(${QuokkaCode_SOURCE_DIR}/extern/fmt ${QuokkaCode_BINARY_DIR}/fmt)
add_subdirectory(${QuokkaCode_SOURCE_DIR}/extern/yaml-cpp ${QuokkaCode_BINARY_DIR}/yaml-cpp)

#add compiler definitions again because
#they do not carry forward from Microphysics
Expand Down
1 change: 1 addition & 0 deletions extern/yaml-cpp
Submodule yaml-cpp added at fcbb81
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ include_directories(${gamma_law_dirs} ${CMAKE_CURRENT_BINARY_DIR} "includes/exte
link_libraries(AMReX::amrex)
link_libraries(fmt::fmt)
link_libraries(hdf5::hdf5)
link_libraries(yaml-cpp::yaml-cpp)

include(CTest)

Expand Down

0 comments on commit 86299c0

Please sign in to comment.