Use CMAKE_Fortran_Flags in compile options#34
Use CMAKE_Fortran_Flags in compile options#34gekowa wants to merge 1 commit intogeospace-code:mainfrom
Conversation
|
This variable is used to initialize the compiler options for every target, every source file of that language https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_FLAGS.html I.e. this change shouldn't have any effect as those options are already implemented for all targets by CMake |
Oh, that makes sense. I'll improve later. |
|
The reason that I created this PR is that I'd like to have a place to pass '-fPIC' to the compiler, especially. ifort, or I have to manually modify CMakeLists.txt to add this compiler option each time. |
f8c9c91 to
f74daac
Compare
No description provided.