From: Dawid Jagiela Date: Mon, 18 Jun 2012 20:13:38 +0000 (+0200) Subject: enable compiler preprocesor flags for non-standard files (COMMON.*) in gfortran for... X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=commitdiff_plain;h=5e253c8339a3477810ef73562d0b25a072536018;hp=59ab5e0c945499e75ef200c756bd1f28df9c8f6c;p=unres.git enable compiler preprocesor flags for non-standard files (COMMON.*) in gfortran for cmake --- diff --git a/source/unres/src_CSA/CMakeLists.txt b/source/unres/src_CSA/CMakeLists.txt index 3fd2b9b..b3747b2 100644 --- a/source/unres/src_CSA/CMakeLists.txt +++ b/source/unres/src_CSA/CMakeLists.txt @@ -110,11 +110,11 @@ if (Fortran_COMPILER_NAME STREQUAL "ifort") #set(FFLAGS3 "-c -w -O3 -ipo -ipo_obj -opt_report" ) set(FFLAGS3 "-c -w -ipo " ) elseif (Fortran_COMPILER_NAME STREQUAL "gfortran") - set(FFLAGS0 "-c -I. " ) - set(FFLAGS1 "-c -g -I. " ) - set(FFLAGS2 "-c -I. ") + set(FFLAGS0 "-c -cpp -I. " ) + set(FFLAGS1 "-c -cpp -g -I. " ) + set(FFLAGS2 "-c -cpp -I. ") #set(FFLAGS3 "-c -w -O3 -ipo -ipo_obj -opt_report" ) - set(FFLAGS3 "-c -I. " ) + set(FFLAGS3 "-c -cpp -I. " ) endif (Fortran_COMPILER_NAME STREQUAL "ifort")