liblerc/lerc-dllver.patch

14 lines
579 B
Diff
Raw Normal View History

2022-07-21 09:48:35 +00:00
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
2022-05-11 13:35:07 +00:00
@@ -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