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/libpng | |
parent | e11baf1cb0a60855c975374890c497e3e5bbe4ab (diff) |
cmake: Refactor all convenience library generation into a function.
Diffstat (limited to 'thirdparty/libpng')
-rw-r--r-- | thirdparty/libpng/CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/thirdparty/libpng/CMakeLists.txt b/thirdparty/libpng/CMakeLists.txt index 7cf2be90..eebed880 100644 --- a/thirdparty/libpng/CMakeLists.txt +++ b/thirdparty/libpng/CMakeLists.txt @@ -1,6 +1,6 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}) -add_library (png_bundled STATIC EXCLUDE_FROM_ALL +add_convenience_library (png_bundled EXCLUDE_FROM_ALL png.c pngerror.c pngget.c @@ -18,10 +18,6 @@ add_library (png_bundled STATIC EXCLUDE_FROM_ALL pngwutil.c ) -set_target_properties (png_bundled PROPERTIES - COMPILE_FLAGS "${CMAKE_SHARED_LIBRARY_C_FLAGS}" -) - install ( FILES LICENSE DESTINATION ${DOC_INSTALL_DIR} |