From 0270b60b8f32c0da9bbe66ebee6aea92ab177c3c Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Thu, 21 Aug 2003 13:26:56 -0400 Subject: [PATCH] ERR: If WX_CONFIG_LIBS are , then you get weird cmake error. This should fix it --- Modules/FindwxWindows.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/FindwxWindows.cmake b/Modules/FindwxWindows.cmake index abf4fd9bb..b9ead3aa4 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*" ## with 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