Commit 62416176 authored by Matthias Redies's avatar Matthias Redies

FLEUR_Fortran_FLAGS comes from the environment

parent 3720c1c6
......@@ -10,7 +10,8 @@ project(FLEUR LANGUAGES C Fortran)
#some variables might be set in the environment
set(FLEUR_LIBRARIES ${FLEUR_LIBRARIES} $ENV{FLEUR_LIBRARIES})
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} ${FLEUR_Fortran_FLAGS} $ENV{CMAKE_Fortran_FLAGS}")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} $ENV{FLEUR_Fortran_FLAGS} $ENV{CMAKE_Fortran_FLAGS}")
message(STATUS "FLEUR_Fortran_FLAGS: ${FLEUR_Fortran_FLAGS}")
if (DEFINED ENV{FLEUR_USE_SERIAL})
set(FLEUR_USE_SERIAL ENV{FLEUR_USE_SERIAL})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment