This commit is contained in:
2024-03-12 15:57:31 +03:00
parent 9e5b642d3f
commit cbaf609100
7 changed files with 11 additions and 10 deletions

View File

@ -1,4 +1,4 @@
set(MYX_CMAKE_PACKAGE_VERSION "2.4.26")
set(MYX_CMAKE_PACKAGE_VERSION "2.4.28")
if(MYX_CMAKE_PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
set(PACKAGE_VERSION_COMPATIBLE FALSE)
else()

View File

@ -69,11 +69,12 @@ function(myx_add_interface_library TARGET_NAME)
set(__exlib "${__lib}_shared")
endif()
endif()
else()
install(TARGETS ${__lib}
EXPORT ${TARGET_NAME}Targets
COMPONENT DEV)
endif()
target_link_libraries(${TARGET_NAME} INTERFACE ${__exlib})
# install(TARGETS ${__exlib}
# EXPORT ${TARGET_NAME}Targets
# COMPONENT DEV)
endif()
endforeach()
endif()