fixing all appaerances

This commit is contained in:
Martin Diehl 2018-05-24 00:06:03 +02:00
parent bf7efad250
commit 0ee34d608c
2 changed files with 3 additions and 3 deletions

View File

@ -190,7 +190,7 @@ set (DAMASK_INCLUDE_FLAGS "${DAMASK_INCLUDE_FLAGS} ${PETSC_INCLUDES}")
###################################################################################################
# Intel Compiler
###################################################################################################
if ( CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
if ("${CMAKE_Fortran_COMPILER_ID}" STREQUAL "Intel")
if (OPENMP)
set (OPENMP_FLAGS "-qopenmp -parallel")
@ -310,7 +310,7 @@ if ( CMAKE_Fortran_COMPILER_ID STREQUAL "Intel")
###################################################################################################
# GNU Compiler
###################################################################################################
elseif( CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")
elseif("${CMAKE_Fortran_COMPILER_ID}" STREQUAL "GNU")
if (OPENMP)
set (OPENMP_FLAGS "-fopenmp")

View File

@ -1,5 +1,5 @@
# special flags for some files
if (CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")
if ("${CMAKE_Fortran_COMPILER_ID}" STREQUAL "GNU")
SET_SOURCE_FILES_PROPERTIES( "lattice.f90" PROPERTIES
COMPILE_FLAGS "-ffree-line-length-240")
# long lines for interaction matrix