Skip to content

Commit

Permalink
Fix CMAKE syntax in kernel file parsing of IFNEQ conditionals (#4695)
Browse files Browse the repository at this point in the history
* Fix syntax in parsing of IFNEQ
  • Loading branch information
martin-frbg committed May 15, 2024
1 parent 9a2a6a2 commit f5c080f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/utils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()
Expand Down

0 comments on commit f5c080f

Please sign in to comment.