diff options
| author | ruki <[email protected]> | 2021-04-15 22:45:26 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-04-15 22:45:26 +0800 |
| commit | a401faae6619e5cdc3a7b1d1d85b257058b22674 (patch) | |
| tree | ab5bbb76214f7462b0d4f8aaf9e71c1e95e591db /xmake/plugins/project/cmake/cmakelists.lua | |
| parent | 43b0e675b7f3fb3e023ba832d9471d9cabadd25b (diff) | |
remove some deprecated apis
Diffstat (limited to 'xmake/plugins/project/cmake/cmakelists.lua')
| -rw-r--r-- | xmake/plugins/project/cmake/cmakelists.lua | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/xmake/plugins/project/cmake/cmakelists.lua b/xmake/plugins/project/cmake/cmakelists.lua index 022e9fd88..6259effed 100644 --- a/xmake/plugins/project/cmake/cmakelists.lua +++ b/xmake/plugins/project/cmake/cmakelists.lua @@ -162,14 +162,6 @@ function _add_target_include_directories(cmakelists, target) end -- TODO deprecated - local headerdirs = target:get("headerdirs") - if headerdirs then - cmakelists:print("target_include_directories(%s PUBLIC", target:name()) - for _, headerdir in ipairs(headerdirs) do - cmakelists:print(" " .. _get_unix_path(headerdir)) - end - cmakelists:print(")") - end local includedirs_interface = target:get("includedirs", {interface = true}) if includedirs_interface then cmakelists:print("target_include_directories(%s INTERFACE", target:name()) |
