mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 22:00:31 -04:00
Note: upstream no longer supports shared libnvmath, but consumer ports (devel/osg*) still require it, so forcibly make it shared.
11 lines
300 B
Text
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)
|
|
|