From a49817f5c822aab9f0465a196a6e92f7152ad901 Mon Sep 17 00:00:00 2001 From: Dongxu Li Date: Tue, 12 Sep 2023 21:22:23 -0400 Subject: [PATCH] ui --- lcUI/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcUI/CMakeLists.txt b/lcUI/CMakeLists.txt index 578ba303..ead4c0ce 100644 --- a/lcUI/CMakeLists.txt +++ b/lcUI/CMakeLists.txt @@ -312,7 +312,7 @@ if (MSVC) install(TARGETS librecad DESTINATION "${FINAL_INSTALL_DIR}") install(DIRECTORY "${CMAKE_SOURCE_DIR}/build/bin/lcUI/ui" DESTINATION "lcUI") else() - install(DIRECTORY "${CMAKE_SOURCE_DIR}/lcUI/ui" DESTINATION "usr/share/librecad/lcUI") + install(DIRECTORY "${CMAKE_SOURCE_DIR}/lcUI/ui" DESTINATION "${CMAKE_INSTALL_DATADIR}/lcUI") endif() file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/default_ui_settings.json" DESTINATION "${SETTINGS_PATH}") file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/settings_schema.json" DESTINATION "${SETTINGS_PATH}")