ports/graphics/nvidia-texture-tools/files/patch-src_nvmath_CMakeLists.txt
Dmitry Marakasov 7784bff647 graphics/nvidia-texture-tools: update 2.1.1 → 2.1.2
Note: upstream no longer supports shared libnvmath, but consumer
ports (devel/osg*) still require it, so forcibly make it shared.
2022-04-01 17:37:34 +03:00

11 lines
300 B
Text

--- src/nvmath/CMakeLists.txt.orig 2020-08-24 06:27:21 UTC
+++ src/nvmath/CMakeLists.txt
@@ -14,7 +14,7 @@ SET(MATH_SRCS
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
-ADD_LIBRARY(nvmath ${MATH_SRCS})
+ADD_LIBRARY(nvmath SHARED ${MATH_SRCS})
TARGET_LINK_LIBRARIES(nvmath ${LIBS} nvcore)