summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-09-01 12:30:54 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-09-01 12:30:54 +0200
commit7e43acd8185cad93e5aeb91b199a89bd8b3eb069 (patch)
tree7bb6a2ba69501a3b443c5647010b37b9b1986366
parentd923b6d2082daa7605487a93f7f867ecc5054e94 (diff)
downloadtdepacman-7e43acd8185cad93e5aeb91b199a89bd8b3eb069.tar.gz
tdepacman-7e43acd8185cad93e5aeb91b199a89bd8b3eb069.zip
Add TDE pkg config path into PKG_CONFIG_PATH variable.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--ConfigureChecks.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 255861b..704762b 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -25,6 +25,11 @@ if( WITH_GCC_VISIBILITY )
endif( WITH_GCC_VISIBILITY )
+##### set PKG_CONFIG_PATH #######################
+
+set( ENV{PKG_CONFIG_PATH} "${PKG_CONFIG_PATH}:$ENV{PKG_CONFIG_PATH}:${LIB_INSTALL_DIR}/pkgconfig" )
+
+
##### look for tdegames
pkg_search_module( TDEGAMES libtdegames )