Changeset 450 for libmpc/trunk/mpc2sv8


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/mpc2sv8/CMakeLists.txt

    r362 r450  
    1313add_executable(mpc2sv8 mpc2sv8.c)
    1414
    15 target_link_libraries(mpc2sv8 mpcdec_static)
     15if(SHARED)
     16  target_link_libraries(mpc2sv8 mpcdec_shared)
     17else(SHARED)
     18  target_link_libraries(mpc2sv8 mpcdec_static)
     19endif(SHARED)
     20
    1621target_link_libraries(mpc2sv8 mpcenc_static)
    1722
     
    2833endif(CMAKE_SYSTEM_NAME STREQUAL OpenBSD)
    2934
     35install(TARGETS mpc2sv8 RUNTIME DESTINATION bin)
Note: See TracChangeset for help on using the changeset viewer.