Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LEFEBVREJP email
radix
Commits
9654f732
Commit
9654f732
authored
Feb 27, 2017
by
LEFEBVREJP email
Browse files
Allow for parent project to enable fortran.
parent
c220fd1f
Pipeline
#7551
passed with stages
in 26 minutes and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cmake/CallbackSetupExtraOptions.cmake
View file @
9654f732
...
...
@@ -64,8 +64,10 @@ MACRO(TRIBITS_REPOSITORY_SETUP_EXTRA_OPTIONS)
IF
(
NOT
"$ENV{
${
PROJECT_NAME
}
_ENABLE_Fortran}"
STREQUAL
""
)
SET
(
${
PROJECT_NAME
}
_ENABLE_Fortran $ENV{
${
PROJECT_NAME
}
_ENABLE_Fortran}
)
ELSE
()
# ensure fortran compiler is set on
SET
(
${
PROJECT_NAME
}
_ENABLE_Fortran OFF
)
IF
(
NOT DEFINED
${
PROJECT_NAME
}
_ENABLE_Fortran
)
# ensure fortran compiler is set on
SET
(
${
PROJECT_NAME
}
_ENABLE_Fortran OFF
)
ENDIF
()
ENDIF
()
# Set up radix cmake directory, used by default option scripts
SET
(
radix_CMAKE_DIR
"
${
radix_SOURCE_DIR
}
/cmake"
CACHE PATH
""
)
...
...
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