nuspell/nuspell-dllver.patch
2022-10-01 15:13:50 +02:00

15 lines
640 B
Diff

diff -rupN --no-dereference nuspell-5.1.2/src/nuspell/CMakeLists.txt nuspell-5.1.2-new/src/nuspell/CMakeLists.txt
--- nuspell-5.1.2/src/nuspell/CMakeLists.txt 2022-09-29 13:57:55.000000000 +0200
+++ nuspell-5.1.2-new/src/nuspell/CMakeLists.txt 2022-10-01 15:13:42.269083401 +0200
@@ -22,6 +22,10 @@ set_target_properties(nuspell PROPERTIES
SOVERSION ${PROJECT_VERSION_MAJOR}
CXX_VISIBILITY_PRESET hidden)
+if(MINGW)
+ set_target_properties(nuspell PROPERTIES SUFFIX "-${PROJECT_VERSION_MAJOR}${CMAKE_SHARED_LIBRARY_SUFFIX}")
+endif(MINGW)
+
target_compile_features(nuspell PUBLIC cxx_std_17)
target_include_directories(nuspell