From c22e98ebd31524c597bef18d0b1971403b942240 Mon Sep 17 00:00:00 2001 From: Artur Pietrzyk Date: Mon, 16 Mar 2020 11:23:58 +0100 Subject: [PATCH] Added fallback configuration for RelWithDebInfo and MinSizeRel --- cmake/E57Format-config.cmake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmake/E57Format-config.cmake b/cmake/E57Format-config.cmake index 161dcec..1460f46 100644 --- a/cmake/E57Format-config.cmake +++ b/cmake/E57Format-config.cmake @@ -2,3 +2,8 @@ include(CMakeFindDependencyMacro) find_dependency(XercesC REQUIRED) include(${CMAKE_CURRENT_LIST_DIR}/E57Format-export.cmake) + +set_target_properties(E57Format PROPERTIES + MAP_IMPORTED_CONFIG_MINSIZEREL "MinSizeRel;Release" + MAP_IMPORTED_CONFIG_RELWITHDEBINFO "RelWithDebInfo;Release" +)