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 8971a88 commit 2b85f01Copy full SHA for 2b85f01
CMakeLists.txt
@@ -21,6 +21,8 @@ if( USE_OMP )
21
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
22
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
23
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_EXE_LINKER_FLAGS}")
24
+ else( OpenMP_FOUND )
25
+ set( USE_OMP OFF )
26
endif( OpenMP_FOUND )
27
endif( USE_OMP )
28
0 commit comments