CMake: Move Assimp plugin to its own install component

This commit is contained in:
Sam Edwards 2019-09-06 01:51:32 -06:00
parent 5654e64645
commit b86332376c

View File

@ -29,5 +29,5 @@ target_link_libraries(p3assimp PUBLIC PKG::ASSIMP)
if(BUILD_SHARED_LIBS) if(BUILD_SHARED_LIBS)
# We can't install this if we're doing a static build, because it depends on # We can't install this if we're doing a static build, because it depends on
# a static library that isn't installed. # a static library that isn't installed.
install(TARGETS p3assimp EXPORT Tools COMPONENT Tools DESTINATION ${MODULE_DESTINATION}) install(TARGETS p3assimp EXPORT Assimp COMPONENT Assimp DESTINATION ${MODULE_DESTINATION})
endif() endif()