From f84ba1b2f6a876b8341c67a0bac6df769322ff5b Mon Sep 17 00:00:00 2001 From: Arnaud Date: Thu, 22 Jan 2026 18:47:21 +0400 Subject: [PATCH] Use warning messages instead of fatal error when lilogos is not found in order to not block qtcreator --- app/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 8b61469..96f8cca 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -12,12 +12,12 @@ find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Core Widgets) # Find logos-liblogos if(NOT DEFINED LOGOS_LIBLOGOS_ROOT) - message(FATAL_ERROR "LOGOS_LIBLOGOS_ROOT must be defined") + message(WARNING "LOGOS_LIBLOGOS_ROOT must be defined") endif() # Find logos-cpp-sdk if(NOT DEFINED LOGOS_CPP_SDK_ROOT) - message(FATAL_ERROR "LOGOS_CPP_SDK_ROOT must be defined") + message(WARNING "LOGOS_CPP_SDK_ROOT must be defined") endif() message(STATUS "Using logos-liblogos at: ${LOGOS_LIBLOGOS_ROOT}") @@ -81,4 +81,4 @@ endif() # Install rules install(TARGETS logos-storage-ui-app RUNTIME DESTINATION bin -) \ No newline at end of file +)