From 3d49fdf91f79c1a3ceb34276d0cced7c8431e70a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 18 Dec 2024 16:23:33 +0100 Subject: [PATCH] modules: workaround to fix KDE's higlighter. --- modules/FindMagnumBindings.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/FindMagnumBindings.cmake b/modules/FindMagnumBindings.cmake index a4effba..622b96d 100644 --- a/modules/FindMagnumBindings.cmake +++ b/modules/FindMagnumBindings.cmake @@ -137,7 +137,7 @@ foreach(_component ${MagnumBindings_FIND_COMPONENTS}) # Create imported target in case the library is found. If the project is # added as subproject to CMake, the target already exists and all the # required setup is already done from the build tree. - if(TARGET MagnumBindings::${_component}) + if(TARGET "MagnumBindings::${_component}") # Quotes to fix KDE's higlighter set(MagnumBindings_${_component}_FOUND TRUE) else() # Header-only components