Update freetype 2.8.1 CMakeLists.txt to work with megasource

This commit is contained in:
Alex Szpakowski
2017-10-28 22:17:53 -03:00
parent 5e763aa7a0
commit 1ba437f9c6
+4 -1
View File
@@ -364,7 +364,7 @@ endif ()
if (NOT CMAKE_VERSION VERSION_LESS 2.8.12)
target_include_directories(freetype
PUBLIC $<INSTALL_INTERFACE:include/freetype2>)
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.