From: <ai...@us...> - 2013-12-12 22:09:09
|
Revision: 12860 http://sourceforge.net/p/plplot/code/12860 Author: airwin Date: 2013-12-12 22:09:07 +0000 (Thu, 12 Dec 2013) Log Message: ----------- Fix build system bug recently introduced for combination of disabled qt and disabled dynamic devices. (Thanks to Phil Rosenberg for spotting this.) Modified Paths: -------------- trunk/src/CMakeLists.txt Modified: trunk/src/CMakeLists.txt =================================================================== --- trunk/src/CMakeLists.txt 2013-12-12 21:51:56 UTC (rev 12859) +++ trunk/src/CMakeLists.txt 2013-12-12 22:09:07 UTC (rev 12860) @@ -200,8 +200,10 @@ else(ENABLE_DYNDRIVERS) set(libplplot${LIB_TAG}_LINK_LIBRARIES ${DRIVERS_LINK_FLAGS}) set(LIB_INSTALL_RPATH ${LIB_INSTALL_RPATH} ${DRIVERS_RPATH}) - # Update the target COMPILE_DEFINITIONS and INCLUDE_DIRECTORIES - set_qt_target_properties(plplot${LIB_TAG}) + if(ANY_QT_DEVICE) + # Update the target COMPILE_DEFINITIONS and INCLUDE_DIRECTORIES + set_qt_target_properties(plplot${LIB_TAG}) + endif(ANY_QT_DEVICE) endif(ENABLE_DYNDRIVERS) #message("DEBUG: LIB_INSTALL_RPATH = ${LIB_INSTALL_RPATH}") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |