diff --git a/deps/ox/CMakeLists.txt b/deps/ox/CMakeLists.txt index 69c4a6d2..da8934e4 100644 --- a/deps/ox/CMakeLists.txt +++ b/deps/ox/CMakeLists.txt @@ -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)