From ee9d63e55d4101f0c1da4d8648aab6aafeb3fea1 Mon Sep 17 00:00:00 2001 From: Guybrush Date: Wed, 3 Apr 2024 10:03:43 +0200 Subject: [PATCH] CMake update to match RapidJSON changes Signed-off-by: Guybrush --- CMakeLists.txt | 6 +++--- src/test/triton_json/CMakeLists.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b8546f..c3f2875 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,7 +46,7 @@ option(TRITON_COMMON_ENABLE_JSON "Build json-related libs" ON) if(TRITON_COMMON_ENABLE_JSON) find_package(RapidJSON CONFIG REQUIRED) - message(STATUS "RapidJSON found. Headers: ${RAPIDJSON_INCLUDE_DIRS}") + message(STATUS "RapidJSON found. Headers: ${RapidJSON_INCLUDE_DIRS}") endif() set(THREADS_PREFER_PTHREAD_FLAG TRUE) @@ -103,9 +103,9 @@ if(TRITON_COMMON_ENABLE_JSON) triton-common-json INTERFACE $ - $ + $ $ - $ + $ ) endif() diff --git a/src/test/triton_json/CMakeLists.txt b/src/test/triton_json/CMakeLists.txt index 3ef9311..6786213 100644 --- a/src/test/triton_json/CMakeLists.txt +++ b/src/test/triton_json/CMakeLists.txt @@ -36,7 +36,7 @@ target_include_directories( PUBLIC $ $ - $ + $ PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} )