summaryrefslogtreecommitdiffstats
path: root/Modules/FindwxWidgets.cmake
diff options
context:
space:
mode:
authorMiguel A. Figueroa-Villanueva <miguelf@ieee.org>2007-11-04 05:20:22 (GMT)
committerMiguel A. Figueroa-Villanueva <miguelf@ieee.org>2007-11-04 05:20:22 (GMT)
commitaa51ca25125b667ce35426f05f372e7fe6738fc1 (patch)
treed95dc4a0aa7cfd3278bf7b58f6991f74ad0c371b /Modules/FindwxWidgets.cmake
parentf70eb07d99da2b1ec84530781cf167ecefd9b578 (diff)
downloadCMake-aa51ca25125b667ce35426f05f372e7fe6738fc1.zip
CMake-aa51ca25125b667ce35426f05f372e7fe6738fc1.tar.gz
CMake-aa51ca25125b667ce35426f05f372e7fe6738fc1.tar.bz2
BUG: Fixed error related to missing quotes around variable.
Diffstat (limited to 'Modules/FindwxWidgets.cmake')
-rw-r--r--Modules/FindwxWidgets.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/FindwxWidgets.cmake b/Modules/FindwxWidgets.cmake
index 0c7162a..0594d10 100644
--- a/Modules/FindwxWidgets.cmake
+++ b/Modules/FindwxWidgets.cmake
@@ -549,15 +549,15 @@ ELSE(WIN32_STYLE_FIND)
# parse definitions from cxxflags; drop -D* from CXXFLAGS
STRING(REGEX MATCHALL "-D[^;]+"
- wxWidgets_DEFINITIONS ${wxWidgets_CXX_FLAGS})
+ wxWidgets_DEFINITIONS "${wxWidgets_CXX_FLAGS}")
STRING(REGEX REPLACE "-D[^;]+;" ""
- wxWidgets_CXX_FLAGS ${wxWidgets_CXX_FLAGS})
+ wxWidgets_CXX_FLAGS "${wxWidgets_CXX_FLAGS}")
# parse include dirs from cxxflags; drop -I prefix
STRING(REGEX MATCHALL "-I[^;]+"
- wxWidgets_INCLUDE_DIRS ${wxWidgets_CXX_FLAGS})
+ wxWidgets_INCLUDE_DIRS "${wxWidgets_CXX_FLAGS}")
STRING(REGEX REPLACE "-I[^;]+;" ""
- wxWidgets_CXX_FLAGS ${wxWidgets_CXX_FLAGS})
+ wxWidgets_CXX_FLAGS "${wxWidgets_CXX_FLAGS}")
STRING(REPLACE "-I" ""
wxWidgets_INCLUDE_DIRS "${wxWidgets_INCLUDE_DIRS}")