We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5e3f6f3 + 17aa536 commit 56e881cCopy full SHA for 56e881c
components/eamxx/src/physics/rrtmgp/CMakeLists.txt
@@ -127,6 +127,9 @@ yakl_process_target(rrtmgp)
127
# NOTE: cannot use 'PUBLIC' in target_link_libraries,
128
# since yakl_process_target already used it
129
# with the "plain" signature
130
+if (NOT TARGET Kokkos::kokkos)
131
+ find_package(Kokkos REQUIRED)
132
+endif ()
133
target_link_libraries(rrtmgp yakl Kokkos::kokkos)
134
target_include_directories(rrtmgp PUBLIC
135
${SCREAM_BASE_DIR}/../../externals/YAKL
0 commit comments