Skip to content

Commit

Permalink
Enforce OpenMP version 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dzid26 authored and realthunder committed Oct 6, 2024
1 parent 8058dcf commit a9810d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Fem/App/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ endif(FREECAD_USE_PCH)
add_library(Fem SHARED ${Fem_SRCS})
target_link_libraries(Fem ${Fem_LIBS} ${VTK_LIBRARIES})

find_package(OpenMP)
find_package(OpenMP 4.0)
if(OpenMP_CXX_FOUND)
target_link_libraries(Fem OpenMP::OpenMP_CXX)
endif()
Expand Down

0 comments on commit a9810d5

Please sign in to comment.