ADD_LIBRARY(lcb_jsoncpp OBJECT lcb-jsoncpp.cpp) ADD_DEFINITIONS(-DJSON_USE_EXCEPTIONS=0) SET_TARGET_PROPERTIES(lcb_jsoncpp PROPERTIES POSITION_INDEPENDENT_CODE TRUE COMPILE_FLAGS "${LCB_CORE_CXXFLAGS}")