From 8d46b72ba222eae31e97c5a71cb6838dd9c2dd98 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Mon, 12 Oct 2015 20:02:03 +0300 Subject: [PATCH] Fix linker includes in pkg-config. --- pkg-config/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg-config/CMakeLists.txt b/pkg-config/CMakeLists.txt index 8e6ace1..8eb3c8a 100644 --- a/pkg-config/CMakeLists.txt +++ b/pkg-config/CMakeLists.txt @@ -1,6 +1,6 @@ INCLUDE (PkgConfigCommon) -SET (PkgConfigLibs "") +SET (PkgConfigLibs "-L\${libdir}") IF (WIN32) SET (PkgConfigLibs "${PkgConfigLibs} -l${PROJECT_LOWERCASE_NAME}-iface-${MAJOR}") SET (PkgConfigLibs "${PkgConfigLibs} -l${PROJECT_LOWERCASE_NAME}-host-iface-${MAJOR}")