mirror of
https://github.com/love2d/megasource.git
synced 2026-08-12 16:41:08 +02:00
Re-applied megasource-specific changes to FreeType's CMakeLists.txt.
This commit is contained in:
@@ -364,7 +364,7 @@ endif ()
|
||||
|
||||
if (NOT CMAKE_VERSION VERSION_LESS 2.8.11)
|
||||
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)
|
||||
@@ -449,4 +450,6 @@ if (NOT DEFINED FREETYPE_NO_DIST)
|
||||
add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)
|
||||
endif ()
|
||||
|
||||
endif() # NOT MEGA
|
||||
|
||||
# eof
|
||||
|
||||
Reference in New Issue
Block a user