|
From: <ai...@us...> - 2009-09-20 16:35:49
|
Revision: 10436
http://plplot.svn.sourceforge.net/plplot/?rev=10436&view=rev
Author: airwin
Date: 2009-09-20 16:35:40 +0000 (Sun, 20 Sep 2009)
Log Message:
-----------
Always set the special PLD_psc and PLD_psttfc variables so they are
always available to configure the installed examples build.
Modified Paths:
--------------
trunk/examples/CMakeLists.txt
Modified: trunk/examples/CMakeLists.txt
===================================================================
--- trunk/examples/CMakeLists.txt 2009-09-20 00:22:43 UTC (rev 10435)
+++ trunk/examples/CMakeLists.txt 2009-09-20 16:35:40 UTC (rev 10436)
@@ -217,17 +217,14 @@
endif(CORE_BUILD)
if(CORE_BUILD)
- # These variables (normally not set or needed for a core build)
- # are needed below for the tests of the languages and devices.
- # For the installed examples tree case (where CORE_BUILD is not defined),
- # these variables are set in the configured file
- # (whose template is plplot_configure.cmake_installed_examples.in) that
- # is installed as examples/cmake/module/plplot_configure.cmake.
+ # These variables (normally not set or needed for a core build) are
+ # needed below for the tests of the languages and devices. They
+ # are also needed to configure plplot_configure.cmake whose template
+ # file is plplot_configure.cmake_installed_examples.in and which
+ # ends up installed in examples/cmake/module.
set(ENABLE_c ON)
- if(BUILD_TEST)
- set(PLD_psc ${PLD_ps})
- set(PLD_psttfc ${PLD_psttf})
- endif(BUILD_TEST)
+ set(PLD_psc ${PLD_ps})
+ set(PLD_psttfc ${PLD_psttf})
# Start configuration/installation of CMake-based build system for
# installed examples.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|