Skip to content

Commit

Permalink
Fixed OpenMP compiler flags (#654)
Browse files Browse the repository at this point in the history
  • Loading branch information
aayushg55 authored Jun 25, 2024
1 parent 7680716 commit 0c00b59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ if (MATX_EN_NVPL OR MATX_EN_X86_FFTW)
message(STATUS "Enabling OpenMP support")
find_package(OpenMP REQUIRED)
target_link_libraries(matx INTERFACE OpenMP::OpenMP_CXX)
target_compile_options(matx INTERFACE ${OpenMP_CXX_FLAGS})
target_compile_definitions(matx INTERFACE MATX_EN_OMP=1)
if (MATX_EN_NVPL)
message(STATUS "Enabling NVPL library support for ARM CPUs")
Expand Down

0 comments on commit 0c00b59

Please sign in to comment.