Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake not honoring CMAKE_Fortran_FLAGS in cache #775

Open
rcabell opened this issue Oct 3, 2024 · 0 comments
Open

CMake not honoring CMAKE_Fortran_FLAGS in cache #775

rcabell opened this issue Oct 3, 2024 · 0 comments

Comments

@rcabell
Copy link
Collaborator

rcabell commented Oct 3, 2024

The CMake build scripts don't use the flags provided by CMAKE_Fortran_FLAGS and friends when building. This makes it difficult to rebuild with tweaked compiler flags, as changes have to be added to the CMakeLists.txt in the source tree.

Expected behavior:
The CMake build should use (or at least append) the standard CMake compiler flags when compiling Fortran code

Workaround
Make temporary changes to CMakeLists.txt in the source tree to add debug flags, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant