summaryrefslogtreecommitdiff
path: root/third-party/unittest/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'third-party/unittest/CMakeLists.txt')
-rw-r--r--third-party/unittest/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/third-party/unittest/CMakeLists.txt b/third-party/unittest/CMakeLists.txt
index b9f3593320d7..3fa885a16ea1 100644
--- a/third-party/unittest/CMakeLists.txt
+++ b/third-party/unittest/CMakeLists.txt
@@ -16,7 +16,7 @@ if(WIN32)
endif()
# Google Test requires headers which need _ALL_SOURCE to build on AIX
-if (UNIX AND ${CMAKE_SYSTEM_NAME} MATCHES "AIX")
+if (UNIX AND "${CMAKE_SYSTEM_NAME}" MATCHES "AIX")
remove_definitions("-D_XOPEN_SOURCE=700")
add_definitions("-D_ALL_SOURCE")
endif()