mirror of
https://github.com/logos-storage/logos-storage-app-skeleton.git
synced 2026-06-14 04:19:25 +00:00
Use warning messages instead of fatal error when lilogos is not found in order to not block qtcreator
This commit is contained in:
parent
4b6eccbd37
commit
f84ba1b2f6
@ -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
|
||||
)
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user