diff --git a/third_party/ssc/CMakeLists.txt b/third_party/ssc/CMakeLists.txt index e4db2fb0bb5..f0977159eb1 100644 --- a/third_party/ssc/CMakeLists.txt +++ b/third_party/ssc/CMakeLists.txt @@ -140,12 +140,9 @@ endfunction() # turn off examples, tests and install for jsoncpp set(JSONCPP_WITH_EXAMPLE 0) set(JSONCPP_WITH_TESTS 0) -macro (install) -endmacro () -add_subdirectory(jsoncpp) -macro (install) - _install(${ARGV}) -endmacro(install) + +# Skip install() commands for jsoncpp +add_subdirectory(jsoncpp EXCLUDE_FROM_ALL) add_subdirectory(splinter) add_subdirectory(shared)