diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2018-04-24 16:34:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-04-24 17:46:41 (GMT) |
commit | 946846aaf5f2f29c27769a5be0021d21ec2ae542 (patch) | |
tree | cdb3a83dbcffe18caefef57b0794f0be78dd2c12 | |
parent | fbe6cd1596bf280edd49aeb8f981f99d7cd8beb3 (diff) | |
download | CMake-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.cmake | 1 |
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}") |