Browse Source

EnTT: Copy natvis to include dirs (#2431)

Jérôme Leclercq 2 years ago
parent
commit
e882990912
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/e/entt/xmake.lua

+ 1 - 0
packages/e/entt/xmake.lua

@@ -30,6 +30,7 @@ package("entt")
         local configs = {"-DENTT_BUILD_TESTING=OFF"}
         table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
         import("package.tools.cmake").install(package, configs)
+        os.cp("natvis/entt/*.natvis", package:installdir("include", "entt", "natvis"))
     end)
 
     on_test(function (package)