patch-mpccut_CMakeLists_txt 646 B

123456789101112131415161718192021
  1. $OpenBSD: patch-mpccut_CMakeLists_txt,v 1.1 2013/06/23 14:30:52 dcoppa Exp $
  2. --- mpccut/CMakeLists.txt.orig Sat Aug 21 17:55:01 2010
  3. +++ mpccut/CMakeLists.txt Sun Jun 23 15:33:17 2013
  4. @@ -13,12 +13,15 @@ endif(MSVC)
  5. add_executable(mpccut mpccut.c)
  6. if(SHARED)
  7. - target_link_libraries(mpccut mpcdec)
  8. + target_link_libraries(mpccut mpcdec_shared)
  9. + add_dependencies(mpccut mpcdec_shared)
  10. else(SHARED)
  11. target_link_libraries(mpccut mpcdec_static)
  12. + add_dependencies(mpccut mpcdec_static)
  13. endif(SHARED)
  14. target_link_libraries(mpccut mpcenc_static)
  15. +add_dependencies(mpccut mpcenc_static)
  16. if(NOT MSVC)
  17. target_link_libraries(mpccut m)