[cmake-commits] king committed CMakeFortranInformation.cmake 1.15 1.16
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Jan 17 19:58:02 EST 2008
Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv4852/Modules
Modified Files:
CMakeFortranInformation.cmake
Log Message:
ENH: Enable use of COMPILE_DEFINITIONS property for Fortran sources.
Index: CMakeFortranInformation.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/CMakeFortranInformation.cmake,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- CMakeFortranInformation.cmake 17 Dec 2007 17:04:15 -0000 1.15
+++ CMakeFortranInformation.cmake 18 Jan 2008 00:58:00 -0000 1.16
@@ -124,7 +124,7 @@
# compile a Fortran file into an object file
IF(NOT CMAKE_Fortran_COMPILE_OBJECT)
SET(CMAKE_Fortran_COMPILE_OBJECT
- "<CMAKE_Fortran_COMPILER> -o <OBJECT> <FLAGS> -c <SOURCE>")
+ "<CMAKE_Fortran_COMPILER> -o <OBJECT> <DEFINES> <FLAGS> -c <SOURCE>")
ENDIF(NOT CMAKE_Fortran_COMPILE_OBJECT)
# link a fortran program
More information about the Cmake-commits
mailing list