liblerc/lerc-dllver.patch

14 lines
702 B
Diff
Raw Normal View History

2022-05-11 13:35:07 +00:00
diff -rupN lerc-b1de4cd146f73e9a679682e209de1ecde1ca094e/CMakeLists.txt lerc-b1de4cd146f73e9a679682e209de1ecde1ca094e-new/CMakeLists.txt
--- lerc-b1de4cd146f73e9a679682e209de1ecde1ca094e/CMakeLists.txt 2022-05-05 21:45:53.000000000 +0200
+++ lerc-b1de4cd146f73e9a679682e209de1ecde1ca094e-new/CMakeLists.txt 2022-05-06 17:59:32.035158986 +0200
@@ -30,6 +30,9 @@ if(BUILD_SHARED_LIBS)
PROPERTIES
SOVERSION ${CMAKE_PROJECT_VERSION_MAJOR}
DEFINE_SYMBOL LERC_EXPORTS)
+ if(WIN32)
+ set_target_properties(Lerc PROPERTIES SUFFIX "-${CMAKE_PROJECT_VERSION_MAJOR}${CMAKE_SHARED_LIBRARY_SUFFIX}")
+ endif(WIN32)
else()
set_target_properties(Lerc
PROPERTIES