diff options
| author | ruki <[email protected]> | 2020-11-19 22:51:01 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-11-19 22:51:01 +0800 |
| commit | 0ee50612f988a311bb579f71c93b0677880081a0 (patch) | |
| tree | 5c6bfbba7f404d7425b16a621281c407d74a9dc3 | |
| parent | 9c358916820236705d55db689c2a2d03d360140e (diff) | |
improve tools/cmake
| -rw-r--r-- | xmake/modules/package/tools/cmake.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua index bf335bb94..42a48f81b 100644 --- a/xmake/modules/package/tools/cmake.lua +++ b/xmake/modules/package/tools/cmake.lua @@ -329,6 +329,7 @@ function _install_for_msvc(package, configs, opt) os.vrunv(msbuild.program, {projfile, "/property:configuration=" .. (package:debug() and "Debug" or "Release")}, {envs = runenvs}) os.trycp("install/bin", package:installdir()) os.trycp("install/lib", package:installdir()) -- perhaps only headers library + os.trycp("install/share", package:installdir()) os.trycp("install/include", package:installdir()) else os.trycp("**.dll", package:installdir("bin")) @@ -352,6 +353,7 @@ function _install_files_for_cmake(package, opt) end os.trycp("install/bin", package:installdir()) os.trycp("install/lib", package:installdir()) + os.trycp("install/share", package:installdir()) os.trycp("install/include", package:installdir()) end |
