From c480b7f79a36a9bfc96c67fb0f8df539ce23c371 Mon Sep 17 00:00:00 2001
From: Florent Pruvost <florent.pruvost@inria.fr>
Date: Tue, 1 Oct 2024 10:17:16 +0200
Subject: [PATCH] FindMorseCommon: replace FATAL_ERROR by WARNING, libraries
 may be given without extension at all

---
 modules/find/FindMorseCommon.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/find/FindMorseCommon.cmake b/modules/find/FindMorseCommon.cmake
index 930c145..98c1406 100644
--- a/modules/find/FindMorseCommon.cmake
+++ b/modules/find/FindMorseCommon.cmake
@@ -358,7 +358,7 @@ macro(morse_find_pkgconfig_libraries_absolute_path _prefix)
       if (${_prefix}_STATIC)
         message(STATUS "${_prefix}_STATIC ${${_prefix}_STATIC}")
       endif()
-      message(FATAL_ERROR "Dependency of ${_prefix} '${_library}' NOT FOUND with suffixes ${CMAKE_FIND_LIBRARY_SUFFIXES} in ${${_prefix}_LIBDIR} ${${_prefix}_LIBRARY_DIRS}")
+      message(WARNING "Dependency of ${_prefix} '${_library}' NOT FOUND with suffixes ${CMAKE_FIND_LIBRARY_SUFFIXES} in ${${_prefix}_LIBDIR} ${${_prefix}_LIBRARY_DIRS}")
     endif()
 
     unset(_library_path CACHE)
-- 
GitLab