codelite/codelite-16.1.0-include-harfbuzz.patch

22 lines
927 B
Diff

--- CMakeLists.txt 2019-10-09 12:20:58.359078260 +0200
+++ CMakeLists.txt 2019-10-09 13:30:15.743666144 +0200
@@ -245,14 +245,16 @@
find_package(GTK3)
set(CMAKE_MODULE_PATH ${OLD_CMAKE_MODULE_PATH}) # Reset, else the official path isn't used again :/
if (GTK3_FOUND)
- include_directories(${GTK3_INCLUDE_DIRS})
+ message("-- GTK3 found")
+ include_directories(${GTK3_INCLUDE_DIRS} /usr/include/harfbuzz/)
else (GTK3_FOUND)
message(FATAL_ERROR "Could not locate GTK.")
endif (GTK3_FOUND)
else()
find_package(GTK2)
if (GTK2_FOUND)
- include_directories(${GTK2_INCLUDE_DIRS})
+ message("-- GTK2 found")
+ include_directories(${GTK2_INCLUDE_DIRS} /usr/include/harfbuzz/)
else (GTK2_FOUND)
message(FATAL_ERROR "Could not locate GTK.")
endif (GTK2_FOUND)