diff options
author | Werner Lemberg <wl@gnu.org> | 2015-06-22 06:35:23 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2015-06-22 06:35:23 +0200 |
commit | 8502c98b15390a397de2d5826c9d8b017d7fc208 (patch) | |
tree | 90d3ab5eaa2a7337e6782a0c3795ad0d4aea90e7 /CMakeLists.txt | |
parent | 31d97df99fb8c7f52d19d675b8d497753f719594 (diff) | |
download | freetype2-8502c98b15390a397de2d5826c9d8b017d7fc208.tar.gz |
Fix Savannah bug #45097.
We no longer `pollute' the namespace of possible header file names;
instead we move `ft2build.h' up by one level so that it gets
installed in the default include directory (e.g.,
/usr/local/include). After this commit, only `ft2build.h' stays in
the compiler's include path.
No visible changes for the user who follows the standard FreeType
header inclusion rules.
* include/*: Move to ...
* include/freetype2/*: This directory, except `ft2build.h'.
* CMakeLists.txt (PUBLIC_HEADERS, PUBLIC_CONFIG_HEADERS,
PRIVATE_HEADERS), Jamfile (HDRMACRO, RefDoc), autogen.sh: Updated.
* builds/amiga/include/config/ftconfig.h, builds/freetype.mk
(PUBLIC_DIR), builds/symbian/bld.inf, builds/toplevel.mk (work),
builds/unix/install.mk (install, uninstall),
builds/unix/freetype2.in: Updated.
* builds/unix/freetype-config.in: Updated.
Emit -I directory only if it is not `/usr/include'.
* builds/wince/*, builds/windows/*: Updated.
* devel/ft2build.h, include/ft2build.h: Updated.
* include/freetype2/config/ftheader.h,
include/freetype2/internal/ftserv.h,
include/freetype2/internal/internal.h: Update all header file
macros.
* src/tools/chktrcmp.py (TRACE_DEF_FILES): Updated.
* docs/*: Updated.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6631fdeb0..9cd9c8a85 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -121,9 +121,9 @@ execute_process( OUTPUT_FILE ${PROJECT_BINARY_DIR}/include/freetype2/ftconfig.h ) -file(GLOB PUBLIC_HEADERS "include/*.h") -file(GLOB PUBLIC_CONFIG_HEADERS "include/config/*.h") -file(GLOB PRIVATE_HEADERS "include/internal/*.h") +file(GLOB PUBLIC_HEADERS "include/freetype2/*.h") +file(GLOB PUBLIC_CONFIG_HEADERS "include/freetype2/config/*.h") +file(GLOB PRIVATE_HEADERS "include/freetype2/internal/*.h") set(BASE_SRCS src/autofit/autofit.c |