Merge branch 'branch-0.4.0' into 'branch-0.4.0'

fix snappy include directory bug

See merge request megasearch/milvus!300

Former-commit-id: b506de958a34ad29ae262ce8078aec4ba49b4a0a
This commit is contained in:
Jeff 2019-08-02 11:04:56 +08:00
commit 526f118de5

View File

@ -1612,7 +1612,7 @@ macro(build_snappy)
set_target_properties(snappy
PROPERTIES IMPORTED_LOCATION "${SNAPPY_STATIC_LIB}"
INTERFACE_INCLUDE_DIRECTORIES
"${SNAPPY_INCLUDE_DIRS}")
"${SNAPPY_INCLUDE_DIR}")
add_dependencies(snappy snappy_ep)
endmacro()