From: <and...@us...> - 2013-12-12 19:51:16
|
Revision: 12856 http://sourceforge.net/p/plplot/code/12856 Author: andrewross Date: 2013-12-12 19:51:12 +0000 (Thu, 12 Dec 2013) Log Message: ----------- Fix case of variable name in cmake fortran support. Modified Paths: -------------- trunk/cmake/modules/fortran.cmake Modified: trunk/cmake/modules/fortran.cmake =================================================================== --- trunk/cmake/modules/fortran.cmake 2013-12-12 18:49:15 UTC (rev 12855) +++ trunk/cmake/modules/fortran.cmake 2013-12-12 19:51:12 UTC (rev 12856) @@ -28,13 +28,13 @@ option(ENABLE_f95 "Enable f95 bindings" ON) endif(DEFAULT_NO_BINDINGS) -if(Enable_f95 AND NOT PLPLOT_Fortran_COMPILER_WORKS) +if(ENABLE_f95 AND NOT PLPLOT_Fortran_COMPILER_WORKS) workaround_9220(Fortran PLPLOT_Fortran_COMPILER_WORKS) if(NOT PLPLOT_Fortran_COMPILER_WORKS) message(STATUS "WARNING: no working Fortran compiler so disabling Fortran bindings and examples.") set(ENABLE_f95 OFF CACHE BOOL "Enable f95 bindings" FORCE) endif(NOT PLPLOT_Fortran_COMPILER_WORKS) -endif(Enable_f95 AND NOT PLPLOT_Fortran_COMPILER_WORKS) +endif(ENABLE_f95 AND NOT PLPLOT_Fortran_COMPILER_WORKS) if(ENABLE_f95) # Find and check Fortran compiler. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |