12345678910111213141516171819 |
- $OpenBSD: patch-libmpcdec_CMakeLists_txt,v 1.1.1.1 2012/05/24 18:25:56 shadchin Exp $
- --- libmpcdec/CMakeLists.txt.orig Sat Aug 21 21:55:01 2010
- +++ libmpcdec/CMakeLists.txt Fri Dec 2 01:18:52 2011
- @@ -1,7 +1,9 @@
- include_directories(${libmpc_SOURCE_DIR}/include)
- -if(SHARED)
- - add_library(mpcdec SHARED huffman mpc_decoder mpc_reader streaminfo mpc_bits_reader mpc_demux requant synth_filter ${libmpc_SOURCE_DIR}/common/crc32)
- -else(SHARED)
- - add_library(mpcdec_static STATIC huffman mpc_decoder mpc_reader streaminfo mpc_bits_reader mpc_demux requant synth_filter ${libmpc_SOURCE_DIR}/common/crc32)
- -endif(SHARED)
-
- +add_library(mpcdec_static STATIC huffman mpc_decoder mpc_reader streaminfo mpc_bits_reader mpc_demux requant synth_filter ${libmpc_SOURCE_DIR}/common/crc32)
- +set_target_properties(mpcdec_static PROPERTIES OUTPUT_NAME mpcdec)
- +
- +add_library(mpcdec_shared SHARED huffman mpc_decoder mpc_reader streaminfo mpc_bits_reader mpc_demux requant synth_filter ${libmpc_SOURCE_DIR}/common/crc32)
- +set_target_properties(mpcdec_shared PROPERTIES OUTPUT_NAME mpcdec)
- +
- +install(TARGETS mpcdec_static mpcdec_shared LIBRARY DESTINATION "lib${LIB_SUFFIX}" ARCHIVE DESTINATION "lib${LIB_SUFFIX}")
|