From 7bf3fd2871e08e5756ac479c4881a0763d167b50 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Tue, 16 Nov 2021 16:09:42 +0100 Subject: [PATCH] Fix invalid CMake package on windows because of missing IMPORTED_IMPLIB --- api/sixtyfps-cpp/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/sixtyfps-cpp/CMakeLists.txt b/api/sixtyfps-cpp/CMakeLists.txt index df23b1b72..f60a18875 100644 --- a/api/sixtyfps-cpp/CMakeLists.txt +++ b/api/sixtyfps-cpp/CMakeLists.txt @@ -180,7 +180,8 @@ set(SIXTYFPS_LIB_PROPERTIES "") foreach(prop IMPORTED_LOCATION IMPORTED_LOCATION_DEBUG IMPORTED_LOCATION_RELEASE IMPORTED_LOCATION_RELWITHDEBINFO IMPORTED_LOCATION_MINSIZEREL - IMPORTED_IMPLIB IMPORTED_IMPLIB_DEBUG IMPORTED_IMPLIB_RELEASE) + IMPORTED_IMPLIB IMPORTED_IMPLIB_DEBUG IMPORTED_IMPLIB_RELEASE + IMPORTED_IMPLIB_RELWITHDEBINFO IMPORTED_IMPLIB_MINSIZEREL) get_target_property(value sixtyfps-cpp-shared ${prop}) if(value) get_filename_component(value ${value} NAME)