Commit 0b5fa23
committed
Update f90/CMakeLists.txt to only use Fortran flags for Fortran files
Before, several flags were being specified for the ModEM target that were not
properly being wrapped in a CMake generator expression. Currently this is not a
problem at all, but it would prevent any C files to be included, as CMake will
try to use these flags when compiling a C file.
This will prevent that issue occurring if a C file is added in the future.1 parent d71af18 commit 0b5fa23
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | | - | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
41 | | - | |
42 | | - | |
| 42 | + | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments