diff --git a/CMakeLists.txt b/CMakeLists.txt
index a21fb85c9e956cd6979e4d870a21517adb3128fc..2c85fcf7e48b6eec06579d6d04e14d68b757c45a 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 d2ef7830b36576f0dcba3b6a0caa21bc73040899..c2d8975634da7867141e584c5443eb954e8bf220 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)