From 2cc817801087f69786370757e24773f74957ed02 Mon Sep 17 00:00:00 2001 From: piyushrpt Date: Wed, 15 Jul 2020 22:09:36 -0700 Subject: [PATCH] Use openmp for resamp_slc --- components/stdproc/stdproc/resamp_slc/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/stdproc/stdproc/resamp_slc/CMakeLists.txt b/components/stdproc/stdproc/resamp_slc/CMakeLists.txt index 96c833b..10753c5 100644 --- a/components/stdproc/stdproc/resamp_slc/CMakeLists.txt +++ b/components/stdproc/stdproc/resamp_slc/CMakeLists.txt @@ -13,6 +13,11 @@ target_link_libraries(resamp_slc PUBLIC target_compile_options(resamp_slc PRIVATE -ffree-line-length-none ) +if(TARGET OpenMP::OpenMP_Fortran) + target_link_libraries(resamp_slc PUBLIC + OpenMP::OpenMP_Fortran + ) +endif() InstallSameDir( resamp_slc