set_property(TARGET ${TGT_NAME} APPEND PROPERTY RESOURCE ${TGT_LIST_OF_FILES})
Together with
install(TARGETS ${TGT_NAME}
RUNTIME DESTINATION bin
RESOURCE DESTINATION "share/${PROJECT_NAME}"
)
Will install resources as needed on every platform, not just Apple anymore. More importantly for my purposes, CPack will put the files in an installer/deb/pkg/rpm/zip on a component basis. Note BundleUtilities is not only for Apple anymore and can be used to package non-project DLLs in a Windows installer.
Aron
-
This reply was modified 5 years, 10 months ago by support. Reason: formatting