From d6dbaacb0332037940b710e89d33b2681202b3d6 Mon Sep 17 00:00:00 2001 From: th-2021 <90853655+th-2021@users.noreply.github.com> Date: Thu, 19 Jan 2023 10:47:21 +0100 Subject: [PATCH] add OPTIONAL flag to avaid error when OTRGui is not build (#2299) --- OTRGui/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OTRGui/CMakeLists.txt b/OTRGui/CMakeLists.txt index 2933c05d3..9eec59c84 100644 --- a/OTRGui/CMakeLists.txt +++ b/OTRGui/CMakeLists.txt @@ -59,7 +59,7 @@ target_include_directories(${PROJECT_NAME} PRIVATE . ) -INSTALL(TARGETS OTRGui DESTINATION . COMPONENT ship) +INSTALL(TARGETS OTRGui DESTINATION . COMPONENT ship OPTIONAL) install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/assets DESTINATION . COMPONENT ship