[ox] Make jsoncpp only included for builds using stdlib
This commit is contained in:
parent
1b49962a8e
commit
7005ef0bcf
6
deps/ox/CMakeLists.txt
vendored
6
deps/ox/CMakeLists.txt
vendored
@ -78,6 +78,8 @@ include_directories("src")
|
||||
|
||||
install(FILES OxConfig.cmake DESTINATION lib/ox)
|
||||
|
||||
include_directories(deps/jsoncpp/include)
|
||||
add_subdirectory(deps/jsoncpp)
|
||||
if(OX_USE_STDLIB)
|
||||
include_directories(deps/jsoncpp/include)
|
||||
add_subdirectory(deps/jsoncpp)
|
||||
endif()
|
||||
add_subdirectory(src)
|
||||
|
Loading…
Reference in New Issue
Block a user