From 792a92befe48c9c5616ec3b578ada8b57195306f Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Wed, 27 Dec 2023 11:46:22 +0100 Subject: Fix build with cmake >= 3.28 Proposed by krop on #kde-devel Unless my bisect skills failed broken by https://gitlab.kitware.com/cmake/cmake/-/commit/ebc9e448b38378cc21a6b77df03a77d9732c24ac --- cmake/FindGem.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') diff --git a/cmake/FindGem.cmake b/cmake/FindGem.cmake index 612268dec..5de3c51ab 100644 --- a/cmake/FindGem.cmake +++ b/cmake/FindGem.cmake @@ -9,7 +9,7 @@ set(FINDGEM_MODULES_DIR ${CMAKE_CURRENT_LIST_DIR}) function(find_gem GEM_NAME) - set(GEM_PACKAGE "Gem:${GEM_NAME}") + set(GEM_PACKAGE "Gem_${GEM_NAME}") configure_file(${FINDGEM_MODULES_DIR}/FindGem.cmake.in Find${GEM_PACKAGE}.cmake @ONLY) -- cgit v1.3