From ce3bf63c9611285d93d5dd0ea7b84e24a5b119d9 Mon Sep 17 00:00:00 2001 From: Paul Baksic <30337881+bakpaul@users.noreply.github.com> Date: Mon, 23 Oct 2023 03:21:24 +0200 Subject: [PATCH] [all] Add the folder sofa-launcher to the resources component (#4245) Add the folder sofa-launcher to the resources component Co-authored-by: Frederick Roy --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 99b2d6cd2e6..eae67ddbbe3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -256,11 +256,12 @@ install(FILES "${CMAKE_SOURCE_DIR}/CHANGELOG.md" DESTINATION . COMPONENT applica install(FILES "${CMAKE_SOURCE_DIR}/LICENSE.LGPL.txt" DESTINATION . COMPONENT applications) install(FILES "${CMAKE_SOURCE_DIR}/Authors.txt" DESTINATION . COMPONENT applications) -option(SOFA_INSTALL_RESOURCES_FILES "Copy resources files (etc/, share/, examples/) when installing" ON) +option(SOFA_INSTALL_RESOURCES_FILES "Copy resources files (etc/, share/, examples/, tools/sofa-launcher/) when installing" ON) ## Install resource files if(SOFA_INSTALL_RESOURCES_FILES) install(DIRECTORY share/ DESTINATION share/sofa COMPONENT resources) install(DIRECTORY examples/ DESTINATION share/sofa/examples COMPONENT resources) + install(DIRECTORY tools/sofa-launcher/ DESTINATION share/sofa/sofa-launcher COMPONENT resources) endif() file(WRITE "${CMAKE_BINARY_DIR}/plugins/README.txt"