aboutsummaryrefslogtreecommitdiff
path: root/find-modules/FindWayland.cmake
diff options
context:
space:
mode:
authorAlex Merry <alex.merry@kde.org>2015-03-09 18:18:16 +0000
committerAlex Merry <alex.merry@kde.org>2015-03-09 18:18:16 +0000
commit4f81d1a92e4ccc2ce7b33d2860397a526b1a4d2f (patch)
treee14f2e5b4024264e388f0be61bb2e71871d8a0fb /find-modules/FindWayland.cmake
parentbc27ee561756cb6e1e51e3589addab8656fd4b03 (diff)
downloadextra-cmake-modules-4f81d1a92e4ccc2ce7b33d2860397a526b1a4d2f.tar.gz
extra-cmake-modules-4f81d1a92e4ccc2ce7b33d2860397a526b1a4d2f.tar.bz2
Fix tab characters in regexes.
There is no "\t" in CMake's regular expression syntax; we need to make the character be interpreted when CMake parses it as a string.
Diffstat (limited to 'find-modules/FindWayland.cmake')
-rw-r--r--find-modules/FindWayland.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/find-modules/FindWayland.cmake b/find-modules/FindWayland.cmake
index f69fa18b..c5a56c16 100644
--- a/find-modules/FindWayland.cmake
+++ b/find-modules/FindWayland.cmake
@@ -117,7 +117,7 @@ if(NOT Wayland_VERSION)
if(Wayland_VERSION_HEADER)
file(READ ${Wayland_VERSION_HEADER} _wayland_version_header_contents)
string(REGEX REPLACE
- "^.*[ \\t]+WAYLAND_VERSION[ \\t]+\"([0-9.]*)\".*$"
+ "^.*[ \t]+WAYLAND_VERSION[ \t]+\"([0-9.]*)\".*$"
"\\1"
Wayland_VERSION
"${_wayland_version_header_contents}"