Provide a CMakeLists.txt.

This lands https://github.com/google/snappy/pull/29
This commit is contained in:
vrabaud
2017-04-26 04:24:58 -07:00
committed by Victor Costan
parent ed3b7b242b
commit c8131680d0
5 changed files with 295 additions and 11 deletions

View File

@@ -0,0 +1,9 @@
set(SNAPPY_VERSION @SNAPPY_MAJOR@.@SNAPPY_MINOR@.@SNAPPY_PATCHLEVEL@)
@PACKAGE_INIT@
set_and_check(SNAPPY_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
set_and_check(SNAPPY_LIBRARY_DIR "@PACKAGE_LIBRARY_INSTALL_DIR@")
set_and_check(SNAPPY_BINARY_DIR "@PACKAGE_BINARY_INSTALL_DIR@")
check_required_components(SNAPPY)