Опечатка

This commit is contained in:
Andrei Astafev 2024-03-12 16:27:42 +03:00
parent 205c4d7f80
commit bd49df9c7c

View File

@ -63,8 +63,8 @@ function(myx_add_interface_library TARGET_NAME)
install(TARGETS ${lib} install(TARGETS ${lib}
EXPORT ${TARGET_NAME}Targets EXPORT ${TARGET_NAME}Targets
COMPONENT DEV) COMPONENT DEV)
get_target_property(target_type ${lib} TYPE)
else() else()
get_target_property(target_type ${lib} TYPE)
if(target_type STREQUAL "OBJECT_LIBRARY") if(target_type STREQUAL "OBJECT_LIBRARY")
if(TARGET "${lib}_static") if(TARGET "${lib}_static")
set(exlib "${lib}_static") set(exlib "${lib}_static")