mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
Add exported public include directory for cjson
This commit is contained in:
parent
cf97c6f066
commit
4d7b2a71d1
@ -143,6 +143,7 @@ endif()
|
|||||||
if (NOT WIN32)
|
if (NOT WIN32)
|
||||||
target_link_libraries("${CJSON_LIB}" m)
|
target_link_libraries("${CJSON_LIB}" m)
|
||||||
endif()
|
endif()
|
||||||
|
target_include_directories(${CJSON_LIB} PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)
|
||||||
|
|
||||||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/library_config/libcjson.pc.in"
|
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/library_config/libcjson.pc.in"
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/libcjson.pc" @ONLY)
|
"${CMAKE_CURRENT_BINARY_DIR}/libcjson.pc" @ONLY)
|
||||||
|
Loading…
Reference in New Issue
Block a user