dbus/cmake
Clemens Lang 3525cc045d cmake: Avoid overwriting PKG_CONFIG_PATH env var
The CMake config file installed by DBus will run in the context of other
projects. Consequently, changing the value of the PKG_CONFIG_DIR,
PKG_CONFIG_PATH or PKG_CONFIG_LIBDIR environment variables will affect
any further calls to pkg-config made by such projects, which can cause
problems.

A common case of this happening are pkg-config files installed in
usr/share/pkgconfig for .pc files that are architecture-independent, as
for example systemd does.

Avoid clobbering the environment variables by saving and restoring their
values. Note that for some of the variables, setting them to an empty
string is different from not setting them at all.

Signed-off-by: Clemens Lang <clemens.lang@bmw-carit.de>
2019-03-14 11:07:49 +01:00
..
bus Move cmake related build system to top level 2019-01-22 09:57:40 +01:00
modules Remove obsolete parameter in end... cmake keywords 2019-01-24 09:07:27 +01:00
bus-test.bat.cmake * cmake: new directory, contains cmake build support. 2007-03-03 14:32:17 +00:00
config.h.cmake Drop cmake variable DBUS_WIN_FIXME 2018-12-05 15:58:48 +01:00
ConfigureChecks.cmake Remove obsolete parameter in end... cmake keywords 2019-01-23 21:34:24 +01:00
dbus-env.bat.cmake Split DBUS_SESSION_BUS_DEFAULT_ADDRESS into listen, connect addresses and set better defaults 2012-08-13 19:57:13 +01:00
DBus1Config.cmake.in cmake, autotools: Add find package config support for cmake clients 2017-03-20 14:18:45 +00:00
DBus1Config.pkgconfig.in cmake: Avoid overwriting PKG_CONFIG_PATH env var 2019-03-14 11:07:49 +01:00
DBus1ConfigVersion.cmake.in cmake, autotools: Add find package config support for cmake clients 2017-03-20 14:18:45 +00:00
i686-w64-mingw32.cmake cmake: Fix warning on travis-ci 'CMAKE_FORCE_C.._COMPILER macro is deprecated' 2018-03-21 15:02:38 +01:00
x86_64-w64-mingw32.cmake travis-ci: Add cross building support for mingw 64 bit compiler 2018-03-22 21:13:47 +01:00