diff options
| author | Christoph Berg <myon@debian.org> | 2019-06-02 22:17:11 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2019-06-02 22:17:11 +0200 |
| commit | 851b658298afb9bafeda98ffbfa2ade612c656be (patch) | |
| tree | 826d54e9dac4ce15fdd1b6af3360eeba7993a7d2 /CMake/Modules/Findhamlib.cmake | |
| parent | b7238399ea4f1ca51d8f7b8f9220af3da0913edf (diff) | |
New upstream version 2.1.0~rc6+repackupstream/2.1.0_rc6+repack
Diffstat (limited to 'CMake/Modules/Findhamlib.cmake')
| -rw-r--r-- | CMake/Modules/Findhamlib.cmake | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/CMake/Modules/Findhamlib.cmake b/CMake/Modules/Findhamlib.cmake index 98419bda..234083ae 100644 --- a/CMake/Modules/Findhamlib.cmake +++ b/CMake/Modules/Findhamlib.cmake @@ -19,9 +19,12 @@ find_path (__hamlib_pc_path NAMES hamlib.pc PATH_SUFFIXES lib/pkgconfig lib64/pkgconfig ) if (__hamlib_pc_path) - set (ENV{PKG_CONFIG_PATH} "${__hamlib_pc_path}" "$ENV{PKG_CONFIG_PATH}") - unset (__hamlib_pc_path CACHE) + set (__pc_path $ENV{PKG_CONFIG_PATH}) + list (APPEND __pc_path "${__hamlib_pc_path}") + set (ENV{PKG_CONFIG_PATH} "${__pc_path}") + unset (__pc_path CACHE) endif () +unset (__hamlib_pc_path CACHE) # Use pkg-config to get hints about paths, libs and, flags unset (__pkg_config_checked_hamlib CACHE) |
