Browse Source

fastmod: remove test

star9029 4 months ago
parent
commit
ca0d037ad3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/f/fastmod/xmake.lua

+ 1 - 1
packages/f/fastmod/xmake.lua

@@ -1,5 +1,4 @@
 package("fastmod")
 package("fastmod")
-
     set_kind("library", {headeronly = true})
     set_kind("library", {headeronly = true})
     set_homepage("https://github.com/lemire/fastmod")
     set_homepage("https://github.com/lemire/fastmod")
     set_description("A header file for fast 32-bit division remainders on 64-bit hardware.")
     set_description("A header file for fast 32-bit division remainders on 64-bit hardware.")
@@ -19,6 +18,7 @@ package("fastmod")
     end)
     end)
 
 
     on_install(function (package)
     on_install(function (package)
+        io.replace("CMakeLists.txt", "add_subdirectory(tests)", "", {plain = true})
         import("package.tools.cmake").install(package)
         import("package.tools.cmake").install(package)
     end)
     end)