diff options
author | José Fonseca <jfonseca@vmware.com> | 2014-06-25 13:46:35 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2014-06-25 13:46:35 +0100 |
commit | c56b9acc6abcae465b916f6ebafa3a282d1f36fc (patch) | |
tree | a4a0a04879c4b48f23eddc33fb58ba8396143dd7 /thirdparty/snappy | |
parent | e11baf1cb0a60855c975374890c497e3e5bbe4ab (diff) |
cmake: Refactor all convenience library generation into a function.
Diffstat (limited to 'thirdparty/snappy')
-rw-r--r-- | thirdparty/snappy/CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/thirdparty/snappy/CMakeLists.txt b/thirdparty/snappy/CMakeLists.txt index 25281a6b..18d1f4bb 100644 --- a/thirdparty/snappy/CMakeLists.txt +++ b/thirdparty/snappy/CMakeLists.txt @@ -8,17 +8,13 @@ if (CMAKE_COMPILER_IS_GNUCXX) add_definitions (-Wno-unused-function) endif () -add_library (snappy_bundled STATIC EXCLUDE_FROM_ALL +add_convenience_library (snappy_bundled EXCLUDE_FROM_ALL snappy.cc snappy-sinksource.cc snappy-stubs-internal.cc snappy-c.cc ) -set_target_properties (snappy_bundled PROPERTIES - COMPILE_FLAGS "${CMAKE_SHARED_LIBRARY_CXX_FLAGS}" -) - install ( FILES COPYING DESTINATION ${DOC_INSTALL_DIR} |