From: <ai...@us...> - 2009-09-20 18:14:52
|
Revision: 10439 http://plplot.svn.sourceforge.net/plplot/?rev=10439&view=rev Author: airwin Date: 2009-09-20 18:14:45 +0000 (Sun, 20 Sep 2009) Log Message: ----------- Drop extra language testing that had been left in by mistake for installed examples build. Modified Paths: -------------- trunk/examples/plplot_configure.cmake_installed_examples.in Modified: trunk/examples/plplot_configure.cmake_installed_examples.in =================================================================== --- trunk/examples/plplot_configure.cmake_installed_examples.in 2009-09-20 17:59:33 UTC (rev 10438) +++ trunk/examples/plplot_configure.cmake_installed_examples.in 2009-09-20 18:14:45 UTC (rev 10439) @@ -64,22 +64,6 @@ "java:Java:Java:OFF" ) -if(ENABLE_cxx) - enable_language(CXX OPTIONAL) - if(NOT CMAKE_CXX_COMPILER_WORKS) - message(STATUS "WARNING: C++ compiler does not work so disabling C++ examples.") - set(ENABLE_cxx OFF CACHE BOOL "Enable cxx bindings" FORCE) - endif(NOT CMAKE_CXX_COMPILER_WORKS) -endif(ENABLE_cxx) - -if(ENABLE_d) - enable_language(D OPTIONAL) - if(NOT CMAKE_D_COMPILER_WORKS) - message(STATUS "WARNING: D compiler does not work so disabling D examples.") - set(ENABLE_d OFF CACHE BOOL "Enable d bindings" FORCE) - endif(NOT CMAKE_D_COMPILER_WORKS) -endif(ENABLE_d) - foreach(COMPILED_LANGUAGE_INFO ${COMPILED_LANGUAGE_INFO_LIST}) string(REGEX REPLACE "^(.*):.*:.*:.*$" "\\1" language ${COMPILED_LANGUAGE_INFO}) string(REGEX REPLACE "^.*:(.*):.*:.*$" "\\1" Language ${COMPILED_LANGUAGE_INFO}) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |