From 77825ae73745444859889579d2a2d61e899dc4c7 Mon Sep 17 00:00:00 2001 From: Hoildkv <42310255+xq114@users.noreply.github.com> Date: Fri, 30 Sep 2022 13:50:45 +0800 Subject: [PATCH] make blaze header-only (#1509) --- packages/b/blaze/xmake.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/b/blaze/xmake.lua b/packages/b/blaze/xmake.lua index 77ec5118d..82ac00285 100644 --- a/packages/b/blaze/xmake.lua +++ b/packages/b/blaze/xmake.lua @@ -1,5 +1,6 @@ package("blaze") + set_kind("library", {headeronly = true}) set_homepage("https://bitbucket.org/blaze-lib/blaze/") set_description("A high performance C++ math library.") set_license("BSD-3-Clause") @@ -24,8 +25,6 @@ package("blaze") on_install("windows|x64", "linux", "macosx", function (package) io.replace("CMakeLists.txt", "BLAS REQUIRED", "BLAS", {plain = true}) local configs = {} - table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release")) - table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF")) if package:config("blas") == "none" then table.insert(configs, "-DUSE_LAPACK=OFF") table.insert(configs, "-DBLAZE_BLAS_MODE=OFF")