|
From: <and...@us...> - 2013-09-26 15:32:23
|
Revision: 12533
http://sourceforge.net/p/plplot/code/12533
Author: andrewross
Date: 2013-09-26 15:32:18 +0000 (Thu, 26 Sep 2013)
Log Message:
-----------
Potential fix for wxWidgets problem on windows.
Modified Paths:
--------------
trunk/cmake/modules/wxwidgets.cmake
Modified: trunk/cmake/modules/wxwidgets.cmake
===================================================================
--- trunk/cmake/modules/wxwidgets.cmake 2013-09-26 15:18:37 UTC (rev 12532)
+++ trunk/cmake/modules/wxwidgets.cmake 2013-09-26 15:32:18 UTC (rev 12533)
@@ -70,12 +70,12 @@
"-D${wxWidgets_DEFINITIONS}"
)
set(wxWidgets_DEFINITIONS_DEBUG_wD "")
- if(wxWidgets_DEFINITIONS_DEBUG)
+ if(wxWidgets_DEFINITIONS_DEBUG AND CMAKE_BUILD_TYPE MATCHES "Debug")
string(REGEX REPLACE ";" " -D"
wxWidgets_DEFINITIONS_DEBUG_wD
"-D${wxWidgets_DEFINITIONS_DEBUG}"
)
- endif(wxWidgets_DEFINITIONS_DEBUG)
+ endif(wxWidgets_DEFINITIONS_DEBUG AND CMAKE_BUILD_TYPE MATCHES "Debug")
string(REGEX REPLACE ";" " "
wxwidgets_COMPILE_FLAGS
${wxwidgets_COMPILE_FLAGS}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|