Remove all LIBxxx_VERSION hacks, cmake.mk can cope that now
This commit is contained in:
parent
1eb8277492
commit
df4fdd41c3
@ -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 {} \;
|
||||
|
||||
|
@ -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})
|
Loading…
Reference in New Issue
Block a user