From 384b61b8bdfbcda957366431431dd7826a2e4fe5 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Tue, 1 Dec 2015 22:14:36 -0400 Subject: [PATCH] Made freetype's CMakeLists.txt work with megasource. --- libs/freetype-2.6.2/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libs/freetype-2.6.2/CMakeLists.txt b/libs/freetype-2.6.2/CMakeLists.txt index 77a5622c..a53a5fc2 100644 --- a/libs/freetype-2.6.2/CMakeLists.txt +++ b/libs/freetype-2.6.2/CMakeLists.txt @@ -353,7 +353,7 @@ endif () if (NOT CMAKE_VERSION VERSION_LESS 2.8.11) target_include_directories(freetype - PUBLIC $) + PUBLIC include) endif () if (CMAKE_VERSION VERSION_LESS 2.8.12) @@ -381,6 +381,7 @@ if (HARFBUZZ_FOUND) endif () +if (NOT MEGA) # Installations # Note the trailing slash in the argument to the `DIRECTORY' directive install(DIRECTORY ${PROJECT_SOURCE_DIR}/include/ @@ -433,4 +434,7 @@ if (NOT DEFINED FREETYPE_NO_DIST) add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source) endif () + +endif() # NOT MEGA + # eof