Files
ports/graphics/opensubdiv/files/patch-opensubdiv_osd_CMakeLists.txt
2026-10-04 04:07:15 +00:00

23 lines
588 B
Plaintext

--- opensubdiv/osd/CMakeLists.txt.orig 2025-10-24 17:23:59 UTC
+++ opensubdiv/osd/CMakeLists.txt
@@ -128,6 +128,8 @@ if(OPENMP_FOUND )
if (CMAKE_COMPILER_IS_GNUCXX)
list(APPEND PLATFORM_CPU_LIBRARIES gomp)
+ else()
+ list(APPEND PLATFORM_CPU_LIBRARIES OpenMP::OpenMP_CXX)
endif()
endif()
@@ -146,10 +148,6 @@ if( TBB_FOUND )
)
list(APPEND PUBLIC_HEADER_FILES ${TBB_PUBLIC_HEADERS})
-
- if (CMAKE_COMPILER_IS_GNUCXX)
- list(APPEND PLATFORM_CPU_LIBRARIES gomp)
- endif()
list(APPEND PLATFORM_CPU_LIBRARIES
TBB::tbb