diff options
Diffstat (limited to 'Modules/FindIce.cmake')
-rw-r--r-- | Modules/FindIce.cmake | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Modules/FindIce.cmake b/Modules/FindIce.cmake index 8f548cd..2bd39e8 100644 --- a/Modules/FindIce.cmake +++ b/Modules/FindIce.cmake @@ -466,13 +466,6 @@ if(Ice_FOUND) IMPORTED_LINK_INTERFACE_LANGUAGES "CXX" IMPORTED_LOCATION "${${_Ice_component_cache}}") endif() - if(EXISTS "${${_Ice_component_cache_debug}}") - set_property(TARGET ${_Ice_imported_target} APPEND PROPERTY - IMPORTED_CONFIGURATIONS DEBUG) - set_target_properties(${_Ice_imported_target} PROPERTIES - IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG "CXX" - IMPORTED_LOCATION_DEBUG "${${_Ice_component_cache_debug}}") - endif() if(EXISTS "${${_Ice_component_cache_release}}") set_property(TARGET ${_Ice_imported_target} APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE) @@ -480,6 +473,13 @@ if(Ice_FOUND) IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "CXX" IMPORTED_LOCATION_RELEASE "${${_Ice_component_cache_release}}") endif() + if(EXISTS "${${_Ice_component_cache_debug}}") + set_property(TARGET ${_Ice_imported_target} APPEND PROPERTY + IMPORTED_CONFIGURATIONS DEBUG) + set_target_properties(${_Ice_imported_target} PROPERTIES + IMPORTED_LINK_INTERFACE_LANGUAGES_DEBUG "CXX" + IMPORTED_LOCATION_DEBUG "${${_Ice_component_cache_debug}}") + endif() endif() endif() unset(_Ice_component_upcase) |