nuspell/nuspell-dllver.patch
2023-11-09 13:51:30 +01:00

15 lines
640 B
Diff

diff -rupN --no-dereference nuspell-5.1.4/src/nuspell/CMakeLists.txt nuspell-5.1.4-new/src/nuspell/CMakeLists.txt
--- nuspell-5.1.4/src/nuspell/CMakeLists.txt 2023-11-08 10:44:28.000000000 +0100
+++ nuspell-5.1.4-new/src/nuspell/CMakeLists.txt 2023-11-09 13:51:20.918144706 +0100
@@ -23,6 +23,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