summaryrefslogtreecommitdiff
path: root/Modules/FindXMLRPC.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2013-06-02 21:42:10 +0200
committerRolf Eike Beer <eike@sf-mail.de>2013-06-02 22:18:19 +0200
commitcd4451d1e738a729a1a8d0ed34b544cada1de078 (patch)
tree099468fd2b338fd193ccf9dd5c1701245d3e1a1f /Modules/FindXMLRPC.cmake
parenta4d8c64d10105fd4448ffde6a5d2fb74c1bb4f57 (diff)
downloadcmake-cd4451d1e738a729a1a8d0ed34b544cada1de078.tar.gz
replace string(... MATCHES "^const$) with string(... STREQUAL "const")
Diffstat (limited to 'Modules/FindXMLRPC.cmake')
-rw-r--r--Modules/FindXMLRPC.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindXMLRPC.cmake b/Modules/FindXMLRPC.cmake
index 6bb578b468..c80249b565 100644
--- a/Modules/FindXMLRPC.cmake
+++ b/Modules/FindXMLRPC.cmake
@@ -53,7 +53,7 @@ if(XMLRPC_FOUND)
endif()
# Parse the include flags.
- if("${XMLRPC_C_CONFIG_RESULT}" MATCHES "^0$")
+ if("${XMLRPC_C_CONFIG_RESULT}" STREQUAL "0")
# Convert the compile flags to a CMake list.
string(REGEX REPLACE " +" ";"
XMLRPC_C_CONFIG_CFLAGS "${XMLRPC_C_CONFIG_CFLAGS}")
@@ -91,7 +91,7 @@ if(XMLRPC_FOUND)
endif()
# Parse the library names and directories.
- if("${XMLRPC_C_CONFIG_RESULT}" MATCHES "^0$")
+ if("${XMLRPC_C_CONFIG_RESULT}" STREQUAL "0")
string(REGEX REPLACE " +" ";"
XMLRPC_C_CONFIG_LIBS "${XMLRPC_C_CONFIG_LIBS}")