summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2018-04-24 16:34:47 (GMT)
committerBrad King <brad.king@kitware.com>2018-04-24 17:46:41 (GMT)
commit946846aaf5f2f29c27769a5be0021d21ec2ae542 (patch)
treecdb3a83dbcffe18caefef57b0794f0be78dd2c12
parentfbe6cd1596bf280edd49aeb8f981f99d7cd8beb3 (diff)
downloadCMake-946846aaf5f2f29c27769a5be0021d21ec2ae542.zip
CMake-946846aaf5f2f29c27769a5be0021d21ec2ae542.tar.gz
CMake-946846aaf5f2f29c27769a5be0021d21ec2ae542.tar.bz2
FindPkgConfig: do not unset unused variable
_props is never used, it was a leftover from a development step.
-rw-r--r--Modules/FindPkgConfig.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/FindPkgConfig.cmake b/Modules/FindPkgConfig.cmake
index 952ca92..415e914 100644
--- a/Modules/FindPkgConfig.cmake
+++ b/Modules/FindPkgConfig.cmake
@@ -222,7 +222,6 @@ function(_pkg_create_imp_target _prefix _no_cmake_path _no_cmake_environment_pat
AND ( ${_prefix}_INCLUDE_DIRS OR _libs OR ${_prefix}_CFLAGS_OTHER ))
add_library(PkgConfig::${_prefix} INTERFACE IMPORTED)
- unset(_props)
if(${_prefix}_INCLUDE_DIRS)
set_property(TARGET PkgConfig::${_prefix} PROPERTY
INTERFACE_INCLUDE_DIRECTORIES "${${_prefix}_INCLUDE_DIRS}")