From 85a79a7fb9df0e583b05d95f08c002746cad62e8 Mon Sep 17 00:00:00 2001
From: Pierre Aubert <aubertp7@gmail.com>
Date: Wed, 17 Feb 2021 10:15:55 +0100
Subject: [PATCH] Ready for version 1.5.4 (update find_package in pull extra
 modules as quiet)

---
 CMakeLists.txt                | 2 +-
 cmake/pull_extra_module.cmake | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1f7b354..ce70b1b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.8)
 
 add_subdirectory(cmake)
 
-phoenix_base_project("PhoenixFileBinaryAnalyzer" "1.5.3"
+phoenix_base_project("PhoenixFileBinaryAnalyzer" "1.5.4"
 		"Programm to automatically get offset of data attribute in abstract binary data"
 		"https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS/PhoenixFileBinaryAnalyzer")
 
diff --git a/cmake/pull_extra_module.cmake b/cmake/pull_extra_module.cmake
index 57cd3fb..417f8ca 100644
--- a/cmake/pull_extra_module.cmake
+++ b/cmake/pull_extra_module.cmake
@@ -76,7 +76,7 @@ function(pull_extra_module packageName urlGitToPackage)
 		get_extra_module(${packageName} ${urlGitToPackage})
 	else()
 # 		Try to find the package
-		find_package(${packageName})
+		find_package(${packageName} QUIET)
 		string(TOUPPER ${packageName} UPPER_PACKAGE_NAME)
 		if(${${UPPER_PACKAGE_NAME}_FOUND})
 # 			The package is found, we check if the module exist
@@ -99,7 +99,7 @@ endfunction(pull_extra_module)
 # 	packageName : name of the package to be found (classic parameter of find_package)
 # 	urlGitToPackage : url of the git repository to be used to fetch it if it is not found
 function(phoenix_find_package packageName urlGitToPackage)
-	find_package(${packageName})
+	find_package(${packageName} QUIET)
 	string(TOUPPER ${packageName} UPPER_PACKAGE_NAME)
 	message(STATUS "FIND variable ${packageName}_FOUND = ${${UPPER_PACKAGE_NAME}_FOUND}")
 	if(NOT ${${UPPER_PACKAGE_NAME}_FOUND})
@@ -112,7 +112,7 @@ function(phoenix_find_package packageName urlGitToPackage)
 					WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
 			
 			message(STATUS "End of ${basePackageDirName} installation")
-			find_package(${packageName})
+			find_package(${packageName} QUIET)
 		else(urlGitToPackage)
 			message(FATAL_ERROR "Package ${packageName} not found and no url to fetch it")
 		endif(urlGitToPackage)
-- 
GitLab