summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-02-22 17:29:42 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-02-22 17:34:39 +0000
commitc8359c843b3f2a693e5c9ff47e1a9a0f288fa26d (patch)
tree182beea3f56701bba9e19116397beb5bfcc216d5 /cmake
parentd7471482d133c00c61016335c8518b02c6ac9bc7 (diff)
Fix toxcore.pc generation.
It's missing vpx and opus at the moment.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/ModulePackage.cmake12
1 files changed, 0 insertions, 12 deletions
diff --git a/cmake/ModulePackage.cmake b/cmake/ModulePackage.cmake
index f0eef7c9..77911b1d 100644
--- a/cmake/ModulePackage.cmake
+++ b/cmake/ModulePackage.cmake
@@ -39,18 +39,6 @@ function(add_module lib)
39 add_library(${lib}_static STATIC ${ARGN}) 39 add_library(${lib}_static STATIC ${ARGN})
40 set_target_properties(${lib}_static PROPERTIES OUTPUT_NAME ${lib}) 40 set_target_properties(${lib}_static PROPERTIES OUTPUT_NAME ${lib})
41 endif() 41 endif()
42
43 # ${lib}_PKGCONFIG_LIBS is what's added to the Libs: line in ${lib}.pc. It
44 # needs to contain all the libraries a program using ${lib} should link against
45 # if it's statically linked. If it's dynamically linked, there is no need to
46 # explicitly link against all the dependencies, but it doesn't harm much(*)
47 # either.
48 #
49 # (*) It allows client code to use symbols from our dependencies without
50 # explicitly linking against them.
51 set(${lib}_PKGCONFIG_LIBS PARENT_SCOPE)
52 # Requires: in pkg-config file.
53 set(${lib}_PKGCONFIG_REQUIRES PARENT_SCOPE)
54endfunction() 42endfunction()
55 43
56function(install_module lib) 44function(install_module lib)