nuspell/nuspell-dllver.patch

15 lines
640 B
Diff
Raw Normal View History

2023-08-29 05:39:34 +00:00
diff -rupN --no-dereference nuspell-5.1.3/src/nuspell/CMakeLists.txt nuspell-5.1.3-new/src/nuspell/CMakeLists.txt
--- nuspell-5.1.3/src/nuspell/CMakeLists.txt 2023-08-27 18:09:53.000000000 +0200
+++ nuspell-5.1.3-new/src/nuspell/CMakeLists.txt 2023-08-29 07:39:23.955116028 +0200
@@ -23,6 +23,10 @@ set_target_properties(nuspell PROPERTIES
2022-09-13 08:56:07 +00:00
SOVERSION ${PROJECT_VERSION_MAJOR}
CXX_VISIBILITY_PRESET hidden)
2022-08-04 21:38:21 +00:00
+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