Use warning messages instead of fatal error when lilogos is not found in order to not block qtcreator

This commit is contained in:
Arnaud 2026-01-22 18:47:21 +04:00
parent 4b6eccbd37
commit f84ba1b2f6
No known key found for this signature in database
GPG Key ID: 20E40A5D3110766F

View File

@ -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
)
)