patch-libk3b_CMakeLists_txt 635 B

123456789101112131415161718192021
  1. $OpenBSD: patch-libk3b_CMakeLists_txt,v 1.1.1.1 2014/07/09 16:40:41 zhuk Exp $
  2. --- libk3b/CMakeLists.txt.orig Sat Jan 19 22:15:31 2013
  3. +++ libk3b/CMakeLists.txt Sat Jan 19 22:20:55 2013
  4. @@ -7,6 +7,7 @@ include_directories(
  5. ${CMAKE_CURRENT_BINARY_DIR}/tools
  6. ${CMAKE_CURRENT_BINARY_DIR}/projects
  7. ${CMAKE_CURRENT_BINARY_DIR}/jobs
  8. + ${SAMPLERATE_INCLUDE_DIR}
  9. )
  10. set(CMAKE_REQUIRED_LIBRARIES m)
  11. @@ -232,7 +233,7 @@ target_link_libraries(k3b
  12. k3bdevice
  13. )
  14. if(NOT WIN32)
  15. - target_link_libraries(k3b dl)
  16. + target_link_libraries(k3b ${CMAKE_DL_LIBS})
  17. else(NOT WIN32)
  18. target_link_libraries(k3b uuid ole32)
  19. endif(NOT WIN32)