X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=source%2Fwham%2Fsrc%2FCMakeLists.txt;h=6f762b12a06e4d707cd7c1cd29d9243b2b17dcbb;hb=fadd82a1bb5ccbd05a4917b584e55b1655461083;hp=4035b15f8407254f63b509d662cd9d4ca77ac3cc;hpb=c2b5c2a1de9cca14f60446937085424047097953;p=unres.git diff --git a/source/wham/src/CMakeLists.txt b/source/wham/src/CMakeLists.txt index 4035b15..6f762b1 100644 --- a/source/wham/src/CMakeLists.txt +++ b/source/wham/src/CMakeLists.txt @@ -152,6 +152,9 @@ elseif (Fortran_COMPILER_NAME STREQUAL "f95") elseif (Fortran_COMPILER_NAME STREQUAL "gfortran") # Add old gfortran flags set(CPPFLAGS "${CPPFLAGS} -DG77") +else (Fortran_COMPILER_NAME STREQUAL "ifort") + # Default preprocessor flags + set(CPPFLAGS "${CPPFLAGS} -DPGI") endif (Fortran_COMPILER_NAME STREQUAL "ifort") #=========================================