liblerc/lerc-dllver.patch
2022-07-21 11:48:35 +02:00

14 lines
579 B
Diff

diff -rupN --no-dereference lerc-4.0.0/CMakeLists.txt lerc-4.0.0-new/CMakeLists.txt
--- lerc-4.0.0/CMakeLists.txt 2022-07-15 20:25:29.000000000 +0200
+++ lerc-4.0.0-new/CMakeLists.txt 2022-07-21 10:44:37.727098109 +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