mirror of
https://github.com/anope/anope.git
synced 2026-06-25 12:36:38 +02:00
Build vendored libraries as static libraries and link against them.
This avoids rebuilding code we've already built.
This commit is contained in:
@@ -12,10 +12,14 @@
|
||||
//
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
/// BEGIN CMAKE
|
||||
/// target_link_libraries(${SO} PRIVATE "vendored_yyjson")
|
||||
/// END CMAKE
|
||||
|
||||
#include <filesystem>
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
#include "yyjson/yyjson.c"
|
||||
#include "yyjson/yyjson.h"
|
||||
|
||||
#include "module.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user