patch-CMakeLists_txt 812 B

123456789101112131415161718192021222324252627
  1. $OpenBSD: patch-CMakeLists_txt,v 1.6 2017/05/15 10:02:01 landry Exp $
  2. Ensure it uses our FindIconv.cmake module
  3. Index: CMakeLists.txt
  4. --- CMakeLists.txt.orig
  5. +++ CMakeLists.txt
  6. @@ -346,9 +346,9 @@ find_package(Freetype)
  7. if(NOT FREETYPE_FOUND)
  8. report_mandatory_not_found(FREETYPE)
  9. endif(NOT FREETYPE_FOUND)
  10. -include_directories(${FREETYPE_INCLUDE_DIR})
  11. +include_directories(${FREETYPE_INCLUDE_DIRS})
  12. ms_link_libraries( ${FREETYPE_LIBRARY})
  13. -list(APPEND ALL_INCLUDE_DIRS ${FREETYPE_INCLUDE_DIR})
  14. +list(APPEND ALL_INCLUDE_DIRS ${FREETYPE_INCLUDE_DIRS})
  15. if(WITH_PROJ)
  16. @@ -419,7 +419,7 @@ endif( USE_FRIBIDI AND NOT(USE_HARFBUZZ) )
  17. if(WITH_ICONV)
  18. - find_package(ICONV)
  19. + find_package(Iconv)
  20. if(ICONV_FOUND)
  21. include_directories(${ICONV_INCLUDE_DIR})
  22. ms_link_libraries( ${ICONV_LIBRARY})