Browse Source

modules: workaround to fix KDE's higlighter.

next
Vladimír Vondruš 1 year ago
parent
commit
3d49fdf91f
  1. 2
      modules/FindMagnumBindings.cmake

2
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 # 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 # added as subproject to CMake, the target already exists and all the
# required setup is already done from the build tree. # 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) set(MagnumBindings_${_component}_FOUND TRUE)
else() else()
# Header-only components # Header-only components

Loading…
Cancel
Save