summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-04-11 12:34:10 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-04-11 12:34:19 (GMT)
commit17b3051b85de34621939a3b7a30cafee42476c47 (patch)
treef57cca1afd04389d4d72e698747b2f8a68e37911
parent614ebb73752bf084eda313e222a12f5302a1121c (diff)
parent4ab860c4c7cd53844b9faa02e20f69633a974284 (diff)
downloadCMake-17b3051b85de34621939a3b7a30cafee42476c47.zip
CMake-17b3051b85de34621939a3b7a30cafee42476c47.tar.gz
CMake-17b3051b85de34621939a3b7a30cafee42476c47.tar.bz2
Merge topic 'FindJasper-imported-target' into release-3.29
4ab860c4c7 FindJasper: Fix Jasper::Jasper IMPORTED_CONFIGURATIONS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9415
-rw-r--r--Modules/FindJasper.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindJasper.cmake b/Modules/FindJasper.cmake
index 9a62669..ec2907d 100644
--- a/Modules/FindJasper.cmake
+++ b/Modules/FindJasper.cmake
@@ -74,14 +74,14 @@ if(JASPER_FOUND)
endif()
if(EXISTS "${JASPER_LIBRARY_RELEASE}")
set_property(TARGET Jasper::Jasper APPEND PROPERTY
- IMPORTED CONFIGURATION RELEASE)
+ IMPORTED_CONFIGURATIONS RELEASE)
set_target_properties(Jasper::Jasper PROPERTIES
IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "C"
IMPORTED_LOCATION "${JASPER_LIBRARY_RELEASE}")
endif()
if(EXISTS "${JASPER_LIBRARY_DEBUG}")
set_property(TARGET Jasper::Jasper APPEND PROPERTY
- IMPORTED CONFIGURATION DEBUG)
+ IMPORTED_CONFIGURATIONS DEBUG)
set_target_properties(Jasper::Jasper PROPERTIES
IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG "C"
IMPORTED_LOCATION "${JASPER_LIBRARY_DEBUG}")