Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AGULLO Emmanuel
Chameleon
Commits
89d39e32
Commit
89d39e32
authored
Oct 12, 2016
by
Guillaume Sylvand
Browse files
CMakeLists.txt: Use 'set' syntax to increase CMAKE_Fortran_FLAGS
parent
002fea6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
89d39e32
...
...
@@ -1041,7 +1041,7 @@ if (MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_SOURCE_DIR}/cmake_modules/")
string
(
REGEX MATCH
".*ifort$"
_match_ifort
${
CMAKE_Fortran_COMPILER
}
)
if
(
_match_ifort
)
message
(
STATUS
"Add -nofor_main to the Fortran linker (Intel compiler)"
)
list
(
APPEND
CMAKE_Fortran_FLAGS
"
-nofor_main"
)
set
(
CMAKE_Fortran_FLAGS
"
${
CMAKE_Fortran_FLAGS
}
-nofor_main"
)
endif
(
_match_ifort
)
# Testing executables
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment