diff options
| author | ruki <[email protected]> | 2021-10-07 00:52:53 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-10-07 00:52:53 +0800 |
| commit | bf5cbeff9d3b65ad60789ef2119acc0b017f5fb9 (patch) | |
| tree | d224111c5f32a53147a4ff9d7698d59b2bbf44a4 /xmake/modules/core/tools/nvcc.lua | |
| parent | c360a739ba17f89f7f4d4f8ffbebc30576cd7dea (diff) | |
improve compile_commands
Diffstat (limited to 'xmake/modules/core/tools/nvcc.lua')
| -rw-r--r-- | xmake/modules/core/tools/nvcc.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/nvcc.lua b/xmake/modules/core/tools/nvcc.lua index d03a10865..25a589124 100644 --- a/xmake/modules/core/tools/nvcc.lua +++ b/xmake/modules/core/tools/nvcc.lua @@ -212,7 +212,7 @@ end -- make the includedir flag function nf_includedir(self, dir) - return {"-I", dir} + return {"-I" .. path.translate(dir)} end -- make the sysincludedir flag @@ -232,7 +232,7 @@ end -- make the linkdir flag function nf_linkdir(self, dir) - return {"-L", dir} + return {"-L" .. path.translate(dir)} end -- make the rpathdir flag |
