Skip to content

Commit

Permalink
NVHPC BUG: workaround for nvhpc module import scoping bug
Browse files Browse the repository at this point in the history
  • Loading branch information
awnawab committed Sep 4, 2024
1 parent b58acc6 commit 7d2179a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ecwam/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -443,10 +443,10 @@ ecbuild_add_library(
PUBLIC_LIBS fiat parkind_${prec} ${ecwam}_intfb
${MPI_Fortran_LIBRARIES}
${${PNAME}_OCEANMODEL_LIBRARIES}
field_api_${prec}
PRIVATE_LIBS eccodes_f90
${MULTIO_LIBRARIES}
${OpenMP_Fortran_LIBRARIES}
field_api_${prec}
$<${HAVE_ECFLOW}:ecflow_lightf>
$<${HAVE_ACC}:OpenACC::OpenACC_Fortran>
PUBLIC_INCLUDES $<INSTALL_INTERFACE:include>
Expand Down
2 changes: 1 addition & 1 deletion src/programs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ foreach( program
ecbuild_add_executable(
TARGET ${PROJECT_NAME}-${program}
SOURCES ${program}.F90
LIBS ${PROJECT_NAME} ${OpenMP_Fortran_LIBRARIES} $<${HAVE_ACC}:OpenACC::OpenACC_Fortran> field_api_${prec}
LIBS ${PROJECT_NAME} ${OpenMP_Fortran_LIBRARIES} $<${HAVE_ACC}:OpenACC::OpenACC_Fortran>
LINKER_LANGUAGE Fortran
)
ecwam_target_compile_definitions_FILENAME(${PROJECT_NAME}-${program})
Expand Down

0 comments on commit 7d2179a

Please sign in to comment.