From bd49df9c7c92a9be97303cfaa2b25dac5cc2e081 Mon Sep 17 00:00:00 2001 From: Andrei Astafev Date: Tue, 12 Mar 2024 16:27:42 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=BF=D0=B5=D1=87=D0=B0=D1=82=D0=BA?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MyxCMake/lib/AddInterfaceLibrary.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MyxCMake/lib/AddInterfaceLibrary.cmake b/MyxCMake/lib/AddInterfaceLibrary.cmake index a636b18..9e87569 100644 --- a/MyxCMake/lib/AddInterfaceLibrary.cmake +++ b/MyxCMake/lib/AddInterfaceLibrary.cmake @@ -63,8 +63,8 @@ function(myx_add_interface_library TARGET_NAME) install(TARGETS ${lib} EXPORT ${TARGET_NAME}Targets COMPONENT DEV) - get_target_property(target_type ${lib} TYPE) else() + get_target_property(target_type ${lib} TYPE) if(target_type STREQUAL "OBJECT_LIBRARY") if(TARGET "${lib}_static") set(exlib "${lib}_static")