diff --git a/cmake/utils.cmake b/cmake/utils.cmake index 81c8db3a41..9befc9a3c4 100644 --- a/cmake/utils.cmake +++ b/cmake/utils.cmake @@ -188,7 +188,7 @@ macro(ParseMakefileVars MAKEFILE_IN) set (STR ${CMAKE_MATCH_4}) endif () if (DEFINED CMAKE_MATCH_1 AND ${HasValidGroup} EQUAL 1) - if (NOT CMAKE_MATCH_1 STREQUAL ${STR})) + if (NOT (CMAKE_MATCH_1 STREQUAL ${STR})) #message (STATUS "condition is true") set (IfElse 1) continue ()