mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Add compatibility pkg-config modules: libtoxcore, libtoxav.
These were generated by the autotools build. Some clients may depend on these files instead of the newer split pkg-config files. New clients should be using the toxcore, toxav, toxencryptsave, and toxdns modules.
This commit is contained in:
parent
4cf69996cc
commit
b14b8d07fa
|
@ -551,7 +551,20 @@ configure_file(
|
|||
@ONLY
|
||||
)
|
||||
|
||||
configure_file(
|
||||
"${CMAKE_SOURCE_DIR}/other/pkgconfig/libtoxcore.pc.in"
|
||||
"${CMAKE_BINARY_DIR}/libtoxcore.pc"
|
||||
@ONLY
|
||||
)
|
||||
|
||||
configure_file(
|
||||
"${CMAKE_SOURCE_DIR}/other/pkgconfig/libtoxav.pc.in"
|
||||
"${CMAKE_BINARY_DIR}/libtoxav.pc"
|
||||
@ONLY
|
||||
)
|
||||
|
||||
install(FILES
|
||||
${CMAKE_BINARY_DIR}/libtoxcore.pc
|
||||
${CMAKE_BINARY_DIR}/toxcore.pc
|
||||
${CMAKE_BINARY_DIR}/toxdns.pc
|
||||
${CMAKE_BINARY_DIR}/toxencryptsave.pc
|
||||
|
@ -564,6 +577,7 @@ install(FILES
|
|||
|
||||
if(BUILD_TOXAV)
|
||||
install(FILES
|
||||
${CMAKE_BINARY_DIR}/libtoxav.pc
|
||||
${CMAKE_BINARY_DIR}/toxav.pc
|
||||
DESTINATION "lib/pkgconfig")
|
||||
install(FILES
|
||||
|
|
8
other/pkgconfig/libtoxav.pc.in
Normal file
8
other/pkgconfig/libtoxav.pc.in
Normal file
|
@ -0,0 +1,8 @@
|
|||
prefix=@CMAKE_INSTALL_PREFIX@
|
||||
libdir=${prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: libtoxav
|
||||
Description: Tox A/V library - compatibility module (use toxav instead)
|
||||
Requires: toxav
|
||||
Version: @PROJECT_VERSION@
|
8
other/pkgconfig/libtoxcore.pc.in
Normal file
8
other/pkgconfig/libtoxcore.pc.in
Normal file
|
@ -0,0 +1,8 @@
|
|||
prefix=@CMAKE_INSTALL_PREFIX@
|
||||
libdir=${prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: libtoxcore
|
||||
Description: Tox protocol library - compatibility module (use toxcore, toxdns, and toxencryptsave instead)
|
||||
Requires: toxcore toxdns toxencryptsave
|
||||
Version: @PROJECT_VERSION@
|
Loading…
Reference in New Issue
Block a user