From 3dce55fde0ae421891a352c33e43a3aba41979b7 Mon Sep 17 00:00:00 2001 From: "Miguel A. Figueroa-Villanueva" Date: Wed, 25 Feb 2009 17:17:34 -0500 Subject: [PATCH] BUG: Fix copy/paste error in previous commit that references wrong variable (wxWidgets_INCLUDE_DIRS instead of wxWidgets_DEFINITIONS). --- Modules/FindwxWidgets.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/FindwxWidgets.cmake b/Modules/FindwxWidgets.cmake index b70122e10..5c3bfabf9 100644 --- a/Modules/FindwxWidgets.cmake +++ b/Modules/FindwxWidgets.cmake @@ -708,7 +708,7 @@ ELSE(wxWidgets_FIND_STYLE STREQUAL "win32") STRING(REGEX REPLACE "-D[^;]+;" "" wxWidgets_CXX_FLAGS "${wxWidgets_CXX_FLAGS}") STRING(REPLACE "-D" "" - wxWidgets_INCLUDE_DIRS "${wxWidgets_DEFINITIONS}") + wxWidgets_DEFINITIONS "${wxWidgets_DEFINITIONS}") # parse include dirs from cxxflags; drop -I prefix STRING(REGEX MATCHALL "-I[^;]+"