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 e34798d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ set(SOURCES
add_executable(fairmath-keygen ${SOURCES})

if (OpenMP_CXX_FOUND)
target_link_libraries(fairmath-keygen PUBLIC OpenMP::OpenMP_CXX)
message(STATUS "FOUND OpenMP: ${OpenMP_CXX_LIBRARIES}")
message(STATUS "FOUND OpenMP Dir: ${OpenMP_libomp_LIBRARY}")

link_directories("/opt/homebrew/opt/libomp/lib/")
endif()

target_include_directories(fairmath-keygen PRIVATE ${NLOHMANN_JSON_INCLUDE_DIRS})
Expand Down

0 comments on commit e34798d

Please sign in to comment.