FILE(GLOB SNAPPY_SRC *.cc) ADD_LIBRARY(lcb_snappy OBJECT ${SNAPPY_SRC}) SET_TARGET_PROPERTIES(lcb_snappy PROPERTIES POSITION_INDEPENDENT_CODE TRUE COMPILE_FLAGS "${LCB_CORE_CXXFLAGS}")