From f5c080f0831a1fdf3ddad1106be920ac7c1987db Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Wed, 15 May 2024 20:58:31 +0200 Subject: [PATCH] Fix CMAKE syntax in kernel file parsing of IFNEQ conditionals (#4695) * Fix syntax in parsing of IFNEQ --- cmake/utils.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/utils.cmake b/cmake/utils.cmake index 5e8ba866be..9befc9a3c4 100644 --- a/cmake/utils.cmake +++ b/cmake/utils.cmake @@ -187,8 +187,8 @@ macro(ParseMakefileVars MAKEFILE_IN) set (HasValidGroup 1) set (STR ${CMAKE_MATCH_4}) endif () - if (DEFINED ${CMAKE_MATCH_1} AND ${HasValidGroup} EQUAL 1) - if (NOT (${${CMAKE_MATCH_1}} STREQUAL ${STR})) + if (DEFINED CMAKE_MATCH_1 AND ${HasValidGroup} EQUAL 1) + if (NOT (CMAKE_MATCH_1 STREQUAL ${STR})) #message (STATUS "condition is true") set (IfElse 1) continue ()