Skip to content

Commit

Permalink
symlink openmp
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Gomenyuk committed Nov 21, 2024
1 parent b695b29 commit 1481f7f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ set(SOURCES
add_executable(fairmath-keygen ${SOURCES})

if (OpenMP_CXX_FOUND)
message(STATUS "FOUND OpenMP: ${OpenMP_CXX_LIBRARIES}")
message(STATUS "FOUND OpenMP Dir: ${OpenMP_gomp_LIBRARY}")

link_directories(${OpenMP_gomp_LIBRARY})
target_link_libraries(fairmath-keygen PUBLIC OpenMP::OpenMP_CXX)
endif()

Expand Down

0 comments on commit 1481f7f

Please sign in to comment.