libftdi-0.20-cmake-include.patch 687 B

1234567891011121314151617181920212223
  1. From ccbd6cf1934056386772debba8583bc9b3721072 Mon Sep 17 00:00:00 2001
  2. From: Uffe Jakobsen <uffe@uffe.org>
  3. Date: Mon, 22 Oct 2012 12:03:22 +0200
  4. Subject: [PATCH] Fix build on FreeBSD (cmake file typo)
  5. ---
  6. examples/CMakeLists.txt | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
  9. index 6793d89..1263c62 100644
  10. --- a/examples/CMakeLists.txt
  11. +++ b/examples/CMakeLists.txt
  12. @@ -2,7 +2,7 @@ option(EXAMPLES "Build example programs" ON)
  13. if (EXAMPLES)
  14. # Includes
  15. - include( ${CMAKE_CURRENT_SOURCE_DIR}
  16. + include_directories( ${CMAKE_CURRENT_SOURCE_DIR}
  17. ${CMAKE_CURRENT_BINARY_DIR}
  18. )