summaryrefslogtreecommitdiffstats
path: root/Modules/FindwxWindows.cmake
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-21 17:26:56 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-21 17:26:56 (GMT)
commit0270b60b8f32c0da9bbe66ebee6aea92ab177c3c (patch)
treee79146498110b65163fdb018a2e35df68e979592 /Modules/FindwxWindows.cmake
parentf2e5ccd972b29d4234940c79b30cf28d557b5a35 (diff)
downloadCMake-0270b60b8f32c0da9bbe66ebee6aea92ab177c3c.zip
CMake-0270b60b8f32c0da9bbe66ebee6aea92ab177c3c.tar.gz
CMake-0270b60b8f32c0da9bbe66ebee6aea92ab177c3c.tar.bz2
ERR: If WX_CONFIG_LIBS are , then you get weird cmake error. This should fix it
Diffstat (limited to 'Modules/FindwxWindows.cmake')
-rw-r--r--Modules/FindwxWindows.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindwxWindows.cmake b/Modules/FindwxWindows.cmake
index abf4fd9..b9ead3a 100644
--- a/Modules/FindwxWindows.cmake
+++ b/Modules/FindwxWindows.cmake
@@ -351,7 +351,7 @@ IF (UNIX)
## extract linkdirs (-L) for rpath
## use regular expression to match wildcard equivalent "-L*<endchar>"
## with <endchar> is a space or a semicolon
- STRING(REGEX MATCHALL "[-][L]([^ ;])+" WXWINDOWS_LINK_DIRECTORIES_WITH_PREFIX ${WX_CONFIG_LIBS} )
+ STRING(REGEX MATCHALL "[-][L]([^ ;])+" WXWINDOWS_LINK_DIRECTORIES_WITH_PREFIX "${WX_CONFIG_LIBS}" )
#MESSAGE("DBG WXWINDOWS_LINK_DIRECTORIES_WITH_PREFIX=${WXWINDOWS_LINK_DIRECTORIES_WITH_PREFIX}")
## remove prefix -L because we need the pure directory for LINK_DIRECTORIES