diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-10-29 09:17:44 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-10-29 09:17:44 (GMT) |
commit | 579bb87f55df8a82bc699e9ac0a8952f963065ac (patch) | |
tree | 78f263e71a5f62e51df37fb6c1ab18299fb2e1b7 /src/compression | |
parent | 4fc6d67feb4f178dec68b4fbba0f21944cbb4150 (diff) |
Added install support.
Diffstat (limited to 'src/compression')
-rw-r--r-- | src/compression/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compression/CMakeLists.txt b/src/compression/CMakeLists.txt index 91155e0..171d2b3 100644 --- a/src/compression/CMakeLists.txt +++ b/src/compression/CMakeLists.txt @@ -2,3 +2,9 @@ add_library(tng_compress bwlzh.c bwt.c coder.c dict.c fixpoint.c huffman.c huffm if(UNIX) target_link_libraries(tng_compress m) endif() + +set_property(TARGET tng_compress PROPERTY LIBRARY_OUTPUT_DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}) + +install(TARGETS tng_compress + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib) |