Browse Source

Fix syntax in parsing of IFNEQ

pull/4695/head
Martin Kroeker GitHub 2 years ago
parent
commit
bb82d38b2c
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      cmake/utils.cmake

+ 2
- 2
cmake/utils.cmake View File

@@ -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 ()


Loading…
Cancel
Save