From 946846aaf5f2f29c27769a5be0021d21ec2ae542 Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer Date: Tue, 24 Apr 2018 18:34:47 +0200 Subject: FindPkgConfig: do not unset unused variable _props is never used, it was a leftover from a development step. --- Modules/FindPkgConfig.cmake | 1 - 1 file changed, 1 deletion(-) 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}") -- cgit v0.12