freebsd-ports/math/SoPlex/files/patch-CMakeLists.txt
Yuri Victorovich f4e10173da math/SoPlex: Update 5.0.2 -> 6.0.0
Reported by:	portscout
2022-05-08 11:02:05 -07:00

13 lines
439 B
Text

- Allow shared libraries by removing CMAKE_CXX_VISIBILITY_PRESET=hidden.
--- CMakeLists.txt.orig 2022-01-19 13:02:23 UTC
+++ CMakeLists.txt
@@ -71,7 +71,7 @@ set(CMAKE_MACOSX_RPATH ON)
set(CMAKE_CXX_STANDARD 14)
# set function visibility default to hidden
-set(CMAKE_CXX_VISIBILITY_PRESET hidden)
+#set(CMAKE_CXX_VISIBILITY_PRESET hidden)
set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)
# create a target for updating the current git hash