nuspell/nuspell-dllver.patch

15 lines
646 B
Diff
Raw Normal View History

2022-08-04 21:38:21 +00:00
diff -rupN --no-dereference nuspell-5.1.0/src/nuspell/CMakeLists.txt nuspell-5.1.0-new/src/nuspell/CMakeLists.txt
--- nuspell-5.1.0/src/nuspell/CMakeLists.txt 2022-02-15 16:12:01.000000000 +0100
+++ nuspell-5.1.0-new/src/nuspell/CMakeLists.txt 2022-08-04 23:36:06.613462669 +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