summaryrefslogtreecommitdiffstats
path: root/Modules/FindXMLRPC.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2013-06-02 19:42:10 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2013-06-02 20:18:19 (GMT)
commitcd4451d1e738a729a1a8d0ed34b544cada1de078 (patch)
tree099468fd2b338fd193ccf9dd5c1701245d3e1a1f /Modules/FindXMLRPC.cmake
parenta4d8c64d10105fd4448ffde6a5d2fb74c1bb4f57 (diff)
downloadCMake-cd4451d1e738a729a1a8d0ed34b544cada1de078.zip
CMake-cd4451d1e738a729a1a8d0ed34b544cada1de078.tar.gz
CMake-cd4451d1e738a729a1a8d0ed34b544cada1de078.tar.bz2
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 6bb578b..c80249b 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}")