4e9b194158
Port Mageia patch for building with Python 3 dependency Add doc subpackage Disable OpenCL due to upstream bug
40 lines
1.7 KiB
Diff
40 lines
1.7 KiB
Diff
diff -up OpenSubdiv-3_4_3/opensubdiv/CMakeLists.txt.dlopen OpenSubdiv-3_4_3/opensubdiv/CMakeLists.txt
|
|
--- OpenSubdiv-3_4_3/opensubdiv/CMakeLists.txt.dlopen 2020-09-13 10:19:54.656579747 +0200
|
|
+++ OpenSubdiv-3_4_3/opensubdiv/CMakeLists.txt 2020-09-13 11:17:38.342004515 +0200
|
|
@@ -160,7 +160,7 @@ if (NOT NO_LIB)
|
|
set_target_properties(osd_static_gpu PROPERTIES OUTPUT_NAME osdGPU CLEAN_DIRECT_OUTPUT 1)
|
|
|
|
target_link_libraries(osd_static_gpu
|
|
- ${PLATFORM_CPU_LIBRARIES} ${PLATFORM_GPU_LIBRARIES}
|
|
+ ${PLATFORM_CPU_LIBRARIES} ${PLATFORM_GPU_LIBRARIES} ${CMAKE_DL_LIBS}
|
|
)
|
|
|
|
install( TARGETS osd_static_gpu DESTINATION "${CMAKE_LIBDIR_BASE}" )
|
|
@@ -232,7 +232,7 @@ if (NOT NO_LIB)
|
|
|
|
target_link_libraries(osd_dynamic_gpu
|
|
osd_dynamic_cpu
|
|
- ${PLATFORM_CPU_LIBRARIES} ${PLATFORM_GPU_LIBRARIES}
|
|
+ ${PLATFORM_CPU_LIBRARIES} ${PLATFORM_GPU_LIBRARIES} ${CMAKE_DL_LIBS}
|
|
)
|
|
|
|
install( TARGETS osd_dynamic_gpu LIBRARY DESTINATION "${CMAKE_LIBDIR_BASE}" )
|
|
@@ -294,7 +294,7 @@ if (NOT NO_LIB)
|
|
)
|
|
|
|
target_link_libraries(osd_static_framework
|
|
- ${PLATFORM_CPU_LIBRARIES} ${PLATFORM_GPU_LIBRARIES}
|
|
+ ${PLATFORM_CPU_LIBRARIES} ${PLATFORM_GPU_LIBRARIES} ${CMAKE_DL_LIBS}
|
|
)
|
|
|
|
install( TARGETS osd_static_framework
|
|
@@ -329,7 +329,7 @@ if (NOT NO_LIB)
|
|
)
|
|
|
|
target_link_libraries(osd_dynamic_framework
|
|
- ${PLATFORM_CPU_LIBRARIES} ${PLATFORM_GPU_LIBRARIES}
|
|
+ ${PLATFORM_CPU_LIBRARIES} ${PLATFORM_GPU_LIBRARIES} ${CMAKE_DL_LIBS}
|
|
)
|
|
|
|
install( TARGETS osd_dynamic_framework
|