diff --git a/kokkos-testing/fd_catalog/CMakeLists.txt b/kokkos-testing/fd_catalog/CMakeLists.txt index e385fbd1a87e47a472a25410121a97dcf669845d..df923f68de2f7e889442673acecf1f90dddc88e6 100644 --- a/kokkos-testing/fd_catalog/CMakeLists.txt +++ b/kokkos-testing/fd_catalog/CMakeLists.txt @@ -19,6 +19,11 @@ if (SILO_FOUND) set(LINK_LIBS ${LINK_LIBS} ${SILO_LIBRARY}) endif() +find_package(OpenACC) +if (OpenACC_CXX_FOUND) + add_definitions(-DHAVE_OPENACC) +endif() + option(ENABLE_TIMESTEP_OUTPUT "Save timesteps (don't use during perf meas)" OFF) if (ENABLE_TIMESTEP_OUTPUT) if (NOT SILO_FOUND)