Skip to content

Commit

Permalink
Explicitly set omp include directories
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed May 23, 2024
1 parent 5f23f1f commit 25fc210
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ if (OPENMP_FOUND)
if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
target_link_libraries(mmseqs-framework ${OpenMP_CXX_LIBRARIES})
endif()
target_include_directories(mmseqs-framework PUBLIC ${OpenMP_CXX_INCLUDE_DIRS})
append_target_property(mmseqs-framework COMPILE_FLAGS ${OpenMP_CXX_FLAGS})
append_target_property(mmseqs-framework LINK_FLAGS ${OpenMP_CXX_FLAGS})
elseif (REQUIRE_OPENMP)
Expand Down

0 comments on commit 25fc210

Please sign in to comment.