Skip to content
Snippets Groups Projects
Commit 1fc35f91 authored by Dominik Thoennes's avatar Dominik Thoennes
Browse files

fix suffix for c++

parent c3f1cd80
Branches
Tags
No related merge requests found
...@@ -1107,10 +1107,10 @@ if (WALBERLA_BUILD_WITH_CUDA AND (CMAKE_CUDA_COMPILER_VERSION VERSION_LESS "11.0 ...@@ -1107,10 +1107,10 @@ if (WALBERLA_BUILD_WITH_CUDA AND (CMAKE_CUDA_COMPILER_VERSION VERSION_LESS "11.0
endif() endif()
# Can be used in CMake files containing generated files where the file suffix is dependent on the target # Can be used in CMake files containing generated files where the file suffix is dependent on the target
if (CUDA_FOUND) if (WALBERLA_BUILD_WITH_CUDA AND CUDA_FOUND)
set(CODEGEN_FILE_SUFFIX "cu") set(CODEGEN_FILE_SUFFIX "cu")
else() else()
set(CODEGEN_FILE_SUFFIX "cu") set(CODEGEN_FILE_SUFFIX "cpp")
endif() endif()
############################################################################################################################ ############################################################################################################################
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment