mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-22 14:13:45 +00:00
WIP [cmake] Fix cppjansson build
Signed-off-by: zyphlar <zyphlar@gmail.com>
This commit is contained in:
@@ -31,6 +31,7 @@ if (NOT WITH_SYSTEM_PROVIDED_3PARTY)
|
||||
set(JANSSON_WITHOUT_TESTS ON)
|
||||
add_subdirectory(jansson/jansson/)
|
||||
target_include_directories(jansson INTERFACE "${PROJECT_BINARY_DIR}/3party/jansson/jansson/include")
|
||||
add_library(jansson::jansson ALIAS jansson)
|
||||
|
||||
# Add gflags library.
|
||||
set(GFLAGS_BUILD_TESTING OFF)
|
||||
|
||||
Reference in New Issue
Block a user