Skip to content
Snippets Groups Projects
Verified Commit 577d0581 authored by Tobias Frisch's avatar Tobias Frisch
Browse files

[#86] Added preprocessing flag for openmp using Clang

parent 5c671a32
No related branches found
No related tags found
No related merge requests found
Pipeline #26358 failed
This commit is part of merge request !78. Comments created here will be created in the context of that merge request.
......@@ -5,6 +5,10 @@ set(vkcv_lib_path ${PROJECT_SOURCE_DIR}/${vkcv_lib})
if(NOT WIN32)
set(vkcv_libraries stdc++fs)
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
list(APPEND vkcv_flags -Xpreprocessor)
endif()
# optimization for loading times
list(APPEND vkcv_flags -pthread)
list(APPEND vkcv_flags -fopenmp)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment