SHA256
11
0
forked from pool/luabind
luabind/fix-cmake-lib-version.patch
Matthias Mailänder d92afe7e20 Accepting request 358416 from home:susnux
Package commonly used to create Lua-bindings for c++.
Not sure if it fits here, or better in the c++ language project.
Feel free to decline if I should submit it else where ;-)

OBS-URL: https://build.opensuse.org/request/show/358416
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luabind?expand=0&rev=1
2016-02-16 19:58:23 +00:00

13 lines
477 B
Diff

diff -Nur luabind-0.9.1+20150408/src/CMakeLists.txt new/src/CMakeLists.txt
--- luabind-0.9.1+20150408/src/CMakeLists.txt 2016-01-28 00:19:12.653828822 +0100
+++ new/src/CMakeLists.txt 2016-01-28 02:04:30.704424451 +0100
@@ -125,6 +125,8 @@
luabind PROPERTY
COMPILE_FLAGS
${CMAKE_SHARED_LIBRARY_C_FLAGS})
+set_target_properties(luabind PROPERTIES VERSION ${CPACK_PACKAGE_VERSION}
+ SOVERSION ${CPACK_PACKAGE_VERSION})
set_property(TARGET
luabind