aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2010-03-22 21:44:44 +0000
committerAlexander Neundorf <neundorf@kde.org>2010-03-22 21:44:44 +0000
commit77a069c2008d0637c2c451ac52e80ebe4a13a0a5 (patch)
treec218d8a3672c2755b8f48ba486848da8e88e6671 /modules
parent1099e03d880ac74509d55fbe0b3ffa4e948a1081 (diff)
downloadextra-cmake-modules-77a069c2008d0637c2c451ac52e80ebe4a13a0a5.tar.gz
extra-cmake-modules-77a069c2008d0637c2c451ac52e80ebe4a13a0a5.tar.bz2
-putting quotes around the input for the string() functions never hurts
Alex svn path=/trunk/KDE/kdelibs/; revision=1106449
Diffstat (limited to 'modules')
-rw-r--r--modules/FindAlsa.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/FindAlsa.cmake b/modules/FindAlsa.cmake
index 23003b39..1bad8126 100644
--- a/modules/FindAlsa.cmake
+++ b/modules/FindAlsa.cmake
@@ -38,7 +38,7 @@ macro(ALSA_VERSION_STRING _result)
# check for version in alsa/version.h
if(ALSA_INCLUDES)
file(READ "${ALSA_INCLUDES}/alsa/version.h" _ALSA_VERSION_CONTENT)
- string(REGEX REPLACE ".*SND_LIB_VERSION_STR.*\"(.*)\".*" "\\1" ${_result} ${_ALSA_VERSION_CONTENT})
+ string(REGEX REPLACE ".*SND_LIB_VERSION_STR.*\"(.*)\".*" "\\1" ${_result} "${_ALSA_VERSION_CONTENT}")
else(ALSA_INCLUDES)
message(STATUS "ALSA version not known. ALSA output will probably not work correctly.")
endif(ALSA_INCLUDES)