|
From: <and...@us...> - 2011-11-27 20:49:04
|
Revision: 12060
http://plplot.svn.sourceforge.net/plplot/?rev=12060&view=rev
Author: andrewross
Date: 2011-11-27 20:48:57 +0000 (Sun, 27 Nov 2011)
Log Message:
-----------
The C++ wxPLplotDemo example needs explicitly linking with the wx libraries in the NON_TRANSITIVE=ON case.
Modified Paths:
--------------
trunk/examples/c++/CMakeLists.txt
Modified: trunk/examples/c++/CMakeLists.txt
===================================================================
--- trunk/examples/c++/CMakeLists.txt 2011-11-27 20:13:52 UTC (rev 12059)
+++ trunk/examples/c++/CMakeLists.txt 2011-11-27 20:48:57 UTC (rev 12060)
@@ -138,7 +138,7 @@
PROPERTIES COMPILE_FLAGS "${wxwidgets_COMPILE_FLAGS}")
endif(CORE_BUILD)
add_executable(wxPLplotDemo WIN32 wxPLplotDemo.cpp)
- target_link_libraries(wxPLplotDemo plplotwxwidgets${LIB_TAG} plplotcxx${LIB_TAG} ${MATH_LIB})
+ target_link_libraries(wxPLplotDemo plplotwxwidgets${LIB_TAG} plplotcxx${LIB_TAG} ${wxwidgets_LINK_FLAGS} ${MATH_LIB})
endif(ENABLE_wxwidgets)
if(ENABLE_qt)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|