From 029d73294417688600a16cc2814a368942cf7822 Mon Sep 17 00:00:00 2001
From: peters <peters@irmb.tu-bs.de>
Date: Thu, 25 Mar 2021 16:19:49 +0100
Subject: [PATCH] Remove separable compilation for gpu lib again.

---
 CMakeLists.txt                           | 2 +-
 src/gpu/VirtualFluids_GPU/CMakeLists.txt | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a21fb85c9..2c85fcf7e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -77,7 +77,7 @@ IF( BUILD_VF_DOUBLE_ACCURACY )
 ENDIF()
 
 if(BUILD_VF_GPU)
-	include(CheckLanguage)
+    include(CheckLanguage)
     check_language(CUDA)
 
     if(NOT CMAKE_CUDA_COMPILER)
diff --git a/src/gpu/VirtualFluids_GPU/CMakeLists.txt b/src/gpu/VirtualFluids_GPU/CMakeLists.txt
index d2ef7830b..c2d897563 100644
--- a/src/gpu/VirtualFluids_GPU/CMakeLists.txt
+++ b/src/gpu/VirtualFluids_GPU/CMakeLists.txt
@@ -13,5 +13,3 @@ linkBoost(COMPONENTS "serialization")
 #SET(TPN_WIN32 "/EHsc")
 #https://stackoverflow.com/questions/6832666/lnk2019-when-including-asio-headers-solution-generated-with-cmake
 #https://stackoverflow.com/questions/27442885/syntax-error-with-stdnumeric-limitsmax
-
-set_target_properties(VirtualFluids_GPU PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
-- 
GitLab