From 41bd07274f15b8f1be2475d73c3c75ada913dabb Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Fri, 23 Feb 2018 21:44:29 +0300 Subject: [PATCH] Fix quoting in cmake --- rpcs3/git-version.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/git-version.cmake b/rpcs3/git-version.cmake index 114992c2d2..aab19bf06c 100644 --- a/rpcs3/git-version.cmake +++ b/rpcs3/git-version.cmake @@ -40,14 +40,14 @@ if(EXISTS ${GIT_VERSION_FILE}) # Don't update if marked not to update. file(STRINGS ${GIT_VERSION_FILE} match REGEX "RPCS3_GIT_VERSION_NO_UPDATE 1") - if(NOT ${match} EQUAL "") + if(NOT "${match}" EQUAL "") set(GIT_VERSION_UPDATE "0") endif() # Don't update if it's already the same. file(STRINGS ${GIT_VERSION_FILE} match REGEX "${GIT_VERSION}") - if(NOT ${match} EQUAL "") + if(NOT "${match}" EQUAL "") set(GIT_VERSION_UPDATE "0") endif() endif()