From bda35149c6065224b7176e1d9830d9607916a2db Mon Sep 17 00:00:00 2001 From: Marcos Del Sol Vives Date: Sun, 7 Jan 2024 13:26:53 +0100 Subject: [PATCH] Fix CMake GD --- client/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 4b4616201..73ac55adc 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -236,7 +236,7 @@ if (NOT SKIPGD EQUAL 1) set(GD_LIBRARIES ${GD_INSTALL_DIR}/lib/libgd.a) set(GD_FOUND ON) else (EMBED_GD) - find_package(GD 2.2.0...<3.0.0 QUIET) + pkg_search_module(GD QUIET gdlib) endif (EMBED_GD) endif (NOT SKIPGD EQUAL 1)