From 4d7b2a71d1fbba43b11a903213fbc37c1fe35ac8 Mon Sep 17 00:00:00 2001 From: Eric Montellese Date: Wed, 15 Jul 2020 15:00:33 -0400 Subject: [PATCH] Add exported public include directory for cjson --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a73a2c..8842cae 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -143,6 +143,7 @@ endif() if (NOT WIN32) target_link_libraries("${CJSON_LIB}" m) endif() +target_include_directories(${CJSON_LIB} PUBLIC $) configure_file("${CMAKE_CURRENT_SOURCE_DIR}/library_config/libcjson.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/libcjson.pc" @ONLY)