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 | 3e07995bddfb645848713d70d8670fc4a0967b1e (patch) | |
tree | b0fb085442592bcc1bcf619deae393a1e0d197fe /Modules/FindPython/Support.cmake | |
parent | 826876f62a63427a8ad1b1fc3a0796cd82630421 (diff) | |
parent | fe280e0cda545e791b80cb5c6ca79ddf642fa08d (diff) | |
download | CMake-3e07995bddfb645848713d70d8670fc4a0967b1e.zip CMake-3e07995bddfb645848713d70d8670fc4a0967b1e.tar.gz CMake-3e07995bddfb645848713d70d8670fc4a0967b1e.tar.bz2 |
Merge topic 'FindPython-Fix-target-properties'
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
Diffstat (limited to 'Modules/FindPython/Support.cmake')
-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 0d6d2fc..89744ec 100644 --- a/Modules/FindPython/Support.cmake +++ b/Modules/FindPython/Support.cmake @@ -2317,7 +2317,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}") |