From eaf6102ad9bfa9b48bfdf0cccdbe8ff20d518431 Mon Sep 17 00:00:00 2001
From: Pradipta Samanta <samanta@dkrz.de>
Date: Wed, 22 May 2024 20:45:07 +0200
Subject: [PATCH] Removed the target_link_libraries for OpenAcc

---
 src/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a142711..bf6936b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -95,7 +95,7 @@ if (FS_ENABLE_OPENACC)
     target_compile_options(fortran-support PRIVATE ${OpenACC_Fortran_OPTIONS})
     # This make sures that unit tests (FortUTF) compiles without the need of
     # passing OpenACC compile option.
-    target_link_libraries(fortran-support PRIVATE OpenACC::OpenACC_Fortran)
+    # target_link_libraries(fortran-support PRIVATE OpenACC::OpenACC_Fortran)
   endif ()
 else ()
   if(HAS_OPENACC_MACRO)
-- 
GitLab