Skip to content
Snippets Groups Projects
Commit 23bb1ae6 authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

Fix build without OpenMP

parent a126d147
No related branches found
No related tags found
No related merge requests found
......@@ -77,6 +77,10 @@ check_cxx_source_compiles("int main(void) {
}" HAVE_OPENMP)
set(CMAKE_REQUIRED_FLAGS "")
if (NOT HAVE_OPENMP)
add_compile_flags("C;CXX" -Wno-unknown-pragmas)
endif()
#
# Perform build type specific configuration.
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment