15 lines
747 B
Diff
15 lines
747 B
Diff
diff -Naur cmake-3.0.1.orig/Modules/FindwxWidgets.cmake cmake-3.0.1.wxfix/Modules/FindwxWidgets.cmake
|
|
--- cmake-3.0.1.orig/Modules/FindwxWidgets.cmake 2014-07-31 10:03:56.000000000 -0500
|
|
+++ cmake-3.0.1.wxfix/Modules/FindwxWidgets.cmake 2014-08-14 12:02:11.604331400 -0500
|
|
@@ -792,6 +792,10 @@
|
|
wxWidgets_CXX_FLAGS "${wxWidgets_CXX_FLAGS}")
|
|
string(REPLACE "-I" ""
|
|
wxWidgets_INCLUDE_DIRS "${wxWidgets_INCLUDE_DIRS}")
|
|
+
|
|
+ # Flags are a string, not a list, fix it here
|
|
+ string(REPLACE ";" " "
|
|
+ wxWidgets_CXX_FLAGS "${wxWidgets_CXX_FLAGS}")
|
|
|
|
DBG_MSG_V("wxWidgets_DEFINITIONS=${wxWidgets_DEFINITIONS}")
|
|
DBG_MSG_V("wxWidgets_INCLUDE_DIRS=${wxWidgets_INCLUDE_DIRS}")
|