From 1ba437f9c6cfdbcd2495a22abfa40b44513aa4fe Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Sat, 28 Oct 2017 22:17:53 -0300 Subject: [PATCH] Update freetype 2.8.1 CMakeLists.txt to work with megasource --- libs/freetype-2.8.1/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/freetype-2.8.1/CMakeLists.txt b/libs/freetype-2.8.1/CMakeLists.txt index 8115f1a4..bd2806dc 100644 --- a/libs/freetype-2.8.1/CMakeLists.txt +++ b/libs/freetype-2.8.1/CMakeLists.txt @@ -364,7 +364,7 @@ endif () if (NOT CMAKE_VERSION VERSION_LESS 2.8.12) target_include_directories(freetype - PUBLIC $) + PUBLIC include) endif () if (CMAKE_VERSION VERSION_LESS 2.8.12) @@ -392,6 +392,7 @@ if (HARFBUZZ_FOUND) endif () +if (NOT MEGA) # Installations # Note the trailing slash in the argument to the `DIRECTORY' directive if (NOT SKIP_INSTALL_HEADERS AND NOT SKIP_INSTALL_ALL) @@ -422,6 +423,8 @@ if (NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL) ) endif () +endif() # NOT MEGA + # Packaging # CPack version numbers for release tarball name.