Skip to content

Commit 3c39b37

Browse files
committed
Restore global OpenMP linking
1 parent 221376e commit 3c39b37

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ find_package(OpenMP REQUIRED COMPONENTS CXX)
4343
if(OpenMP_FOUND)
4444
message(STATUS "OpenMP found - enabling parallel support")
4545
add_definitions(-DHAS_OPENMP)
46+
link_libraries(OpenMP::OpenMP_CXX)
4647
else()
4748
message(STATUS "OpenMP not found - parallel features disabled")
4849
endif()

0 commit comments

Comments
 (0)