diff --git a/packages/c/concurrentqueue/xmake.lua b/packages/c/concurrentqueue/xmake.lua index b34d6e179..095897cea 100644 --- a/packages/c/concurrentqueue/xmake.lua +++ b/packages/c/concurrentqueue/xmake.lua @@ -26,6 +26,13 @@ package("concurrentqueue") table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF")) import("package.tools.cmake").install(package, configs) + io.writefile(path.join(package:installdir("include"), "concurrentqueue", "concurrentqueue.h"), [[ +#pragma once + +#pragma message please update include to +#include "moodycamel/concurrentqueue.h" + ]]) + if package:config("c_api") then io.writefile("xmake.lua", [[ add_rules("mode.debug", "mode.release")