From 6c4f70e1e96c52f6ec39168b547a50a24216a10f Mon Sep 17 00:00:00 2001 From: Daniel Wortmann Date: Fri, 21 Sep 2018 17:06:12 +0200 Subject: [PATCH] Update CMakeLists.txt --- global/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/global/CMakeLists.txt b/global/CMakeLists.txt index 8f58c04a..f8327b60 100644 --- a/global/CMakeLists.txt +++ b/global/CMakeLists.txt @@ -31,5 +31,9 @@ global/qfix.f90 global/radflo.F90 global/utility.F90 global/find_enpara.f90 -global/nvtx.F90 ) +if (FLEUR_USE_GPU) + set(fleur_F90 ${fleur_F90} + global/nvtx.F90 + ) +endif() -- GitLab