BUG: Fixed error related to missing quotes around variable.

This commit is contained in:
Miguel A. Figueroa-Villanueva 2007-11-04 01:20:22 -04:00
parent f70eb07d99
commit aa51ca2512
1 changed files with 4 additions and 4 deletions

View File

@ -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}")