summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-21 13:26:56 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-21 13:26:56 -0400
commit0270b60b8f32c0da9bbe66ebee6aea92ab177c3c (patch)
treee79146498110b65163fdb018a2e35df68e979592
parentf2e5ccd972b29d4234940c79b30cf28d557b5a35 (diff)
downloadcmake-0270b60b8f32c0da9bbe66ebee6aea92ab177c3c.tar.gz
ERR: If WX_CONFIG_LIBS are , then you get weird cmake error. This should fix it
-rw-r--r--Modules/FindwxWindows.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindwxWindows.cmake b/Modules/FindwxWindows.cmake
index abf4fd9bb6..b9ead3aa48 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