This commit is contained in:
Andrei Astafev 2022-10-01 16:53:11 +03:00
parent 4447b134e2
commit a2a5277839

View File

@ -30,6 +30,8 @@ function(myx_install_library NAME)
COMPONENT dev COMPONENT dev
) )
get_target_property(type ${NAME} TYPE)
install(EXPORT ${NAME}Targets install(EXPORT ${NAME}Targets
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${NAME} DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${NAME}
COMPONENT dev COMPONENT dev