diff --git a/apps/gpu/LBM/WTG_RUB/CMakeLists.txt b/apps/gpu/LBM/WTG_RUB/CMakeLists.txt
index 8bac54bf335a26aaecbf8cbb5a1474e67bd99b89..606987dfb093c9c93bbd25bf5ff68fdc81311e1b 100644
--- a/apps/gpu/LBM/WTG_RUB/CMakeLists.txt
+++ b/apps/gpu/LBM/WTG_RUB/CMakeLists.txt
@@ -3,3 +3,5 @@ PROJECT(WTG_RUB LANGUAGES CUDA CXX)
 vf_add_library(BUILDTYPE binary PRIVATE_LINK basics VirtualFluids_GPU GridGenerator MPI::MPI_CXX FILES WTG_RUB.cpp)
 
 set_source_files_properties(WTG_RUB.cpp PROPERTIES LANGUAGE CUDA)
+
+set_target_properties(WTG_RUB PROPERTIES CUDA_SEPARABLE_COMPILATION ON)