patch-host_applications_linux_libs_bcm_host_CMakeLists_txt 833 B

12345678910111213141516171819
  1. --- bcm28xx-vc-8d518460723779f95b49efafc04c183e83da3a18.orig/host_applications/linux/libs/bcm_host/CMakeLists.txt 2017-06-27 18:59:31.000000000 +0200
  2. +++ bcm28xx-vc-8d518460723779f95b49efafc04c183e83da3a18/host_applications/linux/libs/bcm_host/CMakeLists.txt 2017-07-01 14:33:21.139286425 +0200
  3. @@ -3,7 +3,7 @@ if (WIN32)
  4. set(VCOS_PLATFORM win32)
  5. else ()
  6. set(VCOS_PLATFORM pthreads)
  7. - add_definitions(-Wall -Werror)
  8. + add_definitions(-Wall)
  9. endif ()
  10. include_directories( ../../../..
  11. @@ -20,3 +20,7 @@ target_link_libraries(bcm_host vcos vcho
  12. install(TARGETS bcm_host DESTINATION lib)
  13. +configure_file("${CMAKE_CURRENT_SOURCE_DIR}/bcm_host.pc.in"
  14. + "${CMAKE_CURRENT_BINARY_DIR}/bcm_host.pc" @ONLY)
  15. +install(FILES "${CMAKE_CURRENT_BINARY_DIR}/bcm_host.pc"
  16. + DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig")