summaryrefslogtreecommitdiff
path: root/cmake/Modules
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2014-10-30 14:03:31 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2014-10-30 14:03:31 -0700
commitb3bbe5659a20a8377e9a6278d0c77f2649399dc9 (patch)
tree8ba4837df6a7a521c04d7f2e630e48864cc58702 /cmake/Modules
parent82779dce49e149d9cb5acc4d77937cda59e676bd (diff)
parent69477ad4a0a38c3a2968440fad41d7890aff61b6 (diff)
Merge branch 'maint'
Diffstat (limited to 'cmake/Modules')
-rw-r--r--cmake/Modules/GrBoost.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/Modules/GrBoost.cmake b/cmake/Modules/GrBoost.cmake
index d2e91a6f16..fcac5cf975 100644
--- a/cmake/Modules/GrBoost.cmake
+++ b/cmake/Modules/GrBoost.cmake
@@ -87,7 +87,7 @@ set(Boost_NOGO_VERSIONS
)
foreach(ver ${Boost_NOGO_VERSIONS})
- if(${Boost_VERSION} EQUAL ${ver})
+ if("${Boost_VERSION}" STREQUAL "${ver}")
if(NOT ENABLE_BAD_BOOST)
MESSAGE(STATUS "WARNING: Found a known bad version of Boost (v${Boost_VERSION}). Disabling.")
set(Boost_FOUND FALSE)
@@ -95,5 +95,5 @@ foreach(ver ${Boost_NOGO_VERSIONS})
MESSAGE(STATUS "WARNING: Found a known bad version of Boost (v${Boost_VERSION}). Continuing anyway.")
set(Boost_FOUND TRUE)
endif(NOT ENABLE_BAD_BOOST)
- endif(${Boost_VERSION} EQUAL ${ver})
+ endif("${Boost_VERSION}" STREQUAL "${ver}")
endforeach(ver)