[ox] Fix jsoncpp include path export
This commit is contained in:
parent
f910961111
commit
41cc78db66
4
deps/ox/CMakeLists.txt
vendored
4
deps/ox/CMakeLists.txt
vendored
@ -74,12 +74,12 @@ endif()
|
||||
|
||||
enable_testing()
|
||||
|
||||
include_directories("src")
|
||||
include_directories(src)
|
||||
|
||||
install(FILES OxConfig.cmake DESTINATION lib/ox)
|
||||
|
||||
if(OX_USE_STDLIB)
|
||||
include_directories(deps/jsoncpp/include)
|
||||
set(JSONCPP_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/deps/jsoncpp/include")
|
||||
add_subdirectory(deps/jsoncpp)
|
||||
endif()
|
||||
add_subdirectory(src)
|
||||
|
7
deps/ox/src/ox/oc/CMakeLists.txt
vendored
7
deps/ox/src/ox/oc/CMakeLists.txt
vendored
@ -11,7 +11,12 @@ endif()
|
||||
target_link_libraries(
|
||||
OxOrganicClaw PUBLIC
|
||||
OxModel
|
||||
jsoncpp
|
||||
jsoncpp_object
|
||||
)
|
||||
|
||||
target_include_directories(
|
||||
OxOrganicClaw PUBLIC
|
||||
${JSONCPP_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
set_property(
|
||||
|
Loading…
x
Reference in New Issue
Block a user