diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2019-12-20 17:57:01 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-12-20 17:57:07 (GMT) |
commit | 51cc3f1bff2c3637365a9046c2808cd2cf02927b (patch) | |
tree | bbff6f3426e2f6b007cbc127d0548c4788f59ce6 | |
parent | 512ab500f06d6c645985cc8014c5e6291b9a059f (diff) | |
parent | fe280e0cda545e791b80cb5c6ca79ddf642fa08d (diff) | |
download | CMake-51cc3f1bff2c3637365a9046c2808cd2cf02927b.zip CMake-51cc3f1bff2c3637365a9046c2808cd2cf02927b.tar.gz CMake-51cc3f1bff2c3637365a9046c2808cd2cf02927b.tar.bz2 |
Merge topic 'FindPython-Fix-target-properties' into release-3.16
fe280e0cda FindPython*: Fix erroneous target properties setting
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kyle Edwards <kyle.edwards@kitware.com>
Merge-request: !4154
-rw-r--r-- | Modules/FindPython/Support.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindPython/Support.cmake b/Modules/FindPython/Support.cmake index b67d563..1b5a9db 100644 --- a/Modules/FindPython/Support.cmake +++ b/Modules/FindPython/Support.cmake @@ -2269,7 +2269,7 @@ if(_${_PYTHON_PREFIX}_CMAKE_ROLE STREQUAL "PROJECT") endif() else() if (${_PYTHON_PREFIX}_LIBRARY_RELEASE AND ${_PYTHON_PREFIX}_LIBRARY_DEBUG) - set_property (TARGET ${_PYTHON_PREFIX}::Python PROPERTY IMPORTED_CONFIGURATIONS RELEASE DEBUG) + set_property (TARGET ${__name} PROPERTY IMPORTED_CONFIGURATIONS RELEASE DEBUG) set_target_properties (${__name} PROPERTIES IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "C" IMPORTED_LOCATION_RELEASE "${${_PYTHON_PREFIX}_LIBRARY_RELEASE}") |