From: <ai...@us...> - 2009-02-01 20:56:29
|
Revision: 9430 http://plplot.svn.sourceforge.net/plplot/?rev=9430&view=rev Author: airwin Date: 2009-02-01 20:56:25 +0000 (Sun, 01 Feb 2009) Log Message: ----------- Implement tk configuration logic. Simplify compare configuration logic. Modified Paths: -------------- trunk/examples/CMakeLists.txt Modified: trunk/examples/CMakeLists.txt =================================================================== --- trunk/examples/CMakeLists.txt 2009-02-01 19:48:18 UTC (rev 9429) +++ trunk/examples/CMakeLists.txt 2009-02-01 20:56:25 UTC (rev 9430) @@ -148,6 +148,10 @@ set(PSC_TCL_COMMENT "#") endif(PLD_ps) +if(NOT ENABLE_tk) + set(TK_COMMENT "#") +endif(NOT ENABLE_tk) + if(NOT PLD_pdfcairo) set(PDFCAIRO_COMMENT "#") endif(NOT PLD_pdfcairo) @@ -192,11 +196,9 @@ set(PSTEX_COMMENT "#") endif(NOT PLD_pstex) -if(DIFF_EXECUTABLE AND TAIL_EXECUTABLE) - set(COMPARE compare) -else(DIFF_EXECUTABLE AND TAIL_EXECUTABLE) +if(NOT DIFF_EXECUTABLE OR NOT TAIL_EXECUTABLE) set(COMPARE_COMMENT "#") -endif(DIFF_EXECUTABLE AND TAIL_EXECUTABLE) +endif(NOT DIFF_EXECUTABLE OR NOT TAIL_EXECUTABLE) configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/Makefile.examples.in This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |