Skip to content

Commit

Permalink
Update OCToolchainFlags.cmake
Browse files Browse the repository at this point in the history
Added CheckFortranSourceCompiles module
  • Loading branch information
sgenie68 authored Nov 3, 2019
1 parent 9d73094 commit ef7b122
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Scripts/OCToolchainFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Also performs a check if the current compiler supports the flag
#
# This needs to be included AFTER the MPIConfig as the used MPI mnemonic is used here, too!
include(CheckFortranSourceCompiles)

macro(addFlag VALUE LANGUAGE)
getFlagCheckVariableName(${VALUE} ${LANGUAGE} CHK_VAR)
if (${LANGUAGE} STREQUAL C)
Expand Down

0 comments on commit ef7b122

Please sign in to comment.