mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-27 03:08:35 -06:00
FindPkgConfig: do not unset unused variable
_props is never used, it was a leftover from a development step.
This commit is contained in:
committed by
Brad King
parent
fbe6cd1596
commit
946846aaf5
@@ -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 ))
|
AND ( ${_prefix}_INCLUDE_DIRS OR _libs OR ${_prefix}_CFLAGS_OTHER ))
|
||||||
add_library(PkgConfig::${_prefix} INTERFACE IMPORTED)
|
add_library(PkgConfig::${_prefix} INTERFACE IMPORTED)
|
||||||
|
|
||||||
unset(_props)
|
|
||||||
if(${_prefix}_INCLUDE_DIRS)
|
if(${_prefix}_INCLUDE_DIRS)
|
||||||
set_property(TARGET PkgConfig::${_prefix} PROPERTY
|
set_property(TARGET PkgConfig::${_prefix} PROPERTY
|
||||||
INTERFACE_INCLUDE_DIRECTORIES "${${_prefix}_INCLUDE_DIRS}")
|
INTERFACE_INCLUDE_DIRECTORIES "${${_prefix}_INCLUDE_DIRS}")
|
||||||
|
|||||||
Reference in New Issue
Block a user