diff options
| author | ruki <[email protected]> | 2020-07-08 00:56:10 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-07-07 23:37:01 +0800 |
| commit | c8bb0d3edb89d1ca0d2f4615b949eab952421478 (patch) | |
| tree | 401050787a8b4d735aa2948574bbd7a2a5534a97 | |
| parent | 181e2b840d870af5e79e0d7d5fc733f612c69a16 (diff) | |
improve fortran module
| -rw-r--r-- | xmake/rules/fortran/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/fortran/xmake.lua b/xmake/rules/fortran/xmake.lua index 41ff95ac5..6f91924d6 100644 --- a/xmake/rules/fortran/xmake.lua +++ b/xmake/rules/fortran/xmake.lua @@ -24,7 +24,7 @@ rule("fortran.build.modules") local modulesdir = path.join(target:objectdir(), ".modules") os.mkdir(modulesdir) target:add("fcflags", "-J" .. modulesdir) - target:add("includedirs", modulesdir) + target:add("includedirs", modulesdir, {public = true}) end) -- define rule: fortran.build |
