Remove all LIBxxx_VERSION hacks, cmake.mk can cope that now

This commit is contained in:
rsadowski 2022-03-18 21:13:51 +00:00
parent 1eb8277492
commit df4fdd41c3
2 changed files with 0 additions and 17 deletions

View File

@ -48,9 +48,6 @@ WANTLIB += qrencode signal-protocol-c soup-2.4 sqlite3 srtp2
CONFIGURE_ARGS = -DBUILD_TESTS=ON
post-patch:
${SUBST_CMD} ${WRKSRC}/libdino/CMakeLists.txt
do-test:
find ${WRKBUILD} -type f -perm -+x -name \*-test -print -exec {} \;

View File

@ -1,14 +0,0 @@
avoid stupid links to libraries
Index: libdino/CMakeLists.txt
--- libdino/CMakeLists.txt.orig
+++ libdino/CMakeLists.txt
@@ -93,7 +93,7 @@ add_definitions(${VALA_CFLAGS} -DDINO_SYSTEM_PLUGIN_DI
add_library(libdino SHARED ${LIBDINO_VALA_C} ${CMAKE_BINARY_DIR}/exports/dino_i18n.h)
add_dependencies(libdino dino-vapi)
target_link_libraries(libdino xmpp-vala qlite ${LIBDINO_PACKAGES} m)
-set_target_properties(libdino PROPERTIES PREFIX "" VERSION 0.0 SOVERSION 0)
+set_target_properties(libdino PROPERTIES PREFIX "" VERSION ${LIBdino_VERSION})
install(TARGETS libdino ${TARGET_INSTALL})
install(FILES ${CMAKE_BINARY_DIR}/exports/dino.vapi ${CMAKE_BINARY_DIR}/exports/dino.deps DESTINATION ${VAPI_INSTALL_DIR})