Jelajahi Sumber

BUG: Fix copy/paste error in previous commit that references wrong variable
(wxWidgets_INCLUDE_DIRS instead of wxWidgets_DEFINITIONS).

Miguel A. Figueroa-Villanueva 17 tahun lalu
induk
melakukan
3dce55fde0
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Modules/FindwxWidgets.cmake

+ 1 - 1
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[^;]+"