summaryrefslogtreecommitdiffstats
path: root/Tests/Plugin
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-09-02 13:58:28 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-09-02 13:58:28 (GMT)
commite1c58e0bfaa6c72293a5f7e3c44977faab596683 (patch)
tree6dc10b293f1f0b59dabbfc106942030e8e1e816b /Tests/Plugin
parent29eed26aa63103daf7a50265124bc0be58c64a0d (diff)
parent21d99aa345f0af53987cd745384d28f639044507 (diff)
downloadCMake-e1c58e0bfaa6c72293a5f7e3c44977faab596683.zip
CMake-e1c58e0bfaa6c72293a5f7e3c44977faab596683.tar.gz
CMake-e1c58e0bfaa6c72293a5f7e3c44977faab596683.tar.bz2
Merge topic 'modules-no-soname'
21d99aa3 Tests: Use a less strict regular expression to look for "SONAME"
Diffstat (limited to 'Tests/Plugin')
-rw-r--r--Tests/Plugin/check_mod_soname.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Plugin/check_mod_soname.cmake b/Tests/Plugin/check_mod_soname.cmake
index 21a33b1..eeededa 100644
--- a/Tests/Plugin/check_mod_soname.cmake
+++ b/Tests/Plugin/check_mod_soname.cmake
@@ -1,5 +1,5 @@
execute_process(COMMAND ${readelf} -d ${mod} OUTPUT_FILE ${mod}.readelf.txt)
-file(STRINGS ${mod}.readelf.txt soname REGEX "\\(SONAME\\)")
+file(STRINGS ${mod}.readelf.txt soname REGEX "SONAME")
if(soname)
message(FATAL_ERROR "${mod} has soname but should not:\n ${soname}")
else()