mirror of
https://git.freebsd.org/ports.git
synced 2025-07-07 20:39:18 -04:00
Make OpenMP suppport OPTIONal Add patches to pass OpenMP flags to consumers if enabled [1] Mark OPENCL option as prevented to build examples Bump PORTREVISION to force rebuild consumers with new flags Submitted by: Tatsuki Makino via ports ml Approved by: maintainer (implicit)
11 lines
356 B
Text
11 lines
356 B
Text
--- opensubdiv/CMakeLists.txt.orig 2022-09-26 18:17:44 UTC
|
|
+++ opensubdiv/CMakeLists.txt
|
|
@@ -45,6 +45,8 @@ if (NOT NO_LIB)
|
|
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()
|
|
|