Skip to content

Commit d7627e6

Browse files
authored
Update CMakeLists.txt
1 parent 2a533c9 commit d7627e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ endif( USE_MPI )
2323

2424
############################### OpenMP ##############################
2525
option(USE_OMP OFF)
26-
if( USE_OMP OR USE_SEQ )
26+
if( USE_OMP )
2727
find_package( OpenMP )
2828
if( OpenMP_FOUND )
2929
include_directories( ${OpenMP_C_INCLUDE_DIRS} ${OpenMP_CXX_INCLUDE_DIRS} )
@@ -43,7 +43,7 @@ if( USE_OMP OR USE_SEQ )
4343
message(FATAL_ERROR "OpenMP NOT FOUND")
4444
endif()
4545
endif( OpenMP_FOUND )
46-
endif( USE_OMP OR USE_SEQ )
46+
endif( USE_OMP )
4747

4848
############################ std::thread ############################
4949
option(USE_STL OFF)

0 commit comments

Comments
 (0)