Ignore:
Timestamp:
08/03/09 12:44:13 (15 years ago)
Author:
r2d
Message:

libmpc (patch by Samuli Suominen) :

  • add install target for cmake
  • add a shared option for libmpcdec
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/trunk/mpcgain/CMakeLists.txt

    r320 r450  
    1919
    2020target_link_libraries(mpcgain ${REPLAY_GAIN_LIBRARY})
    21 target_link_libraries(mpcgain mpcdec_static)
     21
     22if(SHARED)
     23  target_link_libraries(mpcgain mpcdec_shared)
     24else(SHARED)
     25  target_link_libraries(mpcgain mpcdec_static)
     26endif(SHARED)
    2227
    2328if(NOT MSVC)
     
    2530endif(NOT MSVC)
    2631
     32install(TARGETS mpcgain RUNTIME DESTINATION bin)
Note: See TracChangeset for help on using the changeset viewer.