We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2a30a8 commit 7c3f995Copy full SHA for 7c3f995
cmake/DaemonFlags.cmake
@@ -362,6 +362,17 @@ else()
362
endif()
363
364
365
+ if (NOT NACL AND BUILD_CLIENT)
366
+ option(USE_OPENMP "Use OpenMP to parallelize some tasks" OFF)
367
+
368
+ if (USE_OPENMP)
369
+ try_cxx_flag(FOPENMP "-fopenmp")
370
+ if (NOT FLAG_FOPENMP)
371
+ message(WARNING "Missing OpenMP")
372
+ endif()
373
374
375
376
if (NACL AND USE_NACL_SAIGO AND SAIGO_ARCH STREQUAL "arm")
377
# This should be set for every build type because build type flags
378
# are set after the other custom flags and then have the last word.
0 commit comments