diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2015-12-30 14:37:35 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2015-12-30 14:37:35 +0000 |
| commit | 4f5e6e7732553a9689f773715074fc14420f16b0 (patch) | |
| tree | 124fa87c6cf6f76443c061a598012ed7705d7ee3 /CMake/resources.cmake | |
| parent | 17c48175927a5fa8eea52ef09090617b3e9b20f9 (diff) | |
Harmonize configure and CMake build system (part 1).
The files "config.h" generated by configure and CMake are now almost
identical, except a few comments and some still missing or failing
config tests, for instance checks for some functions in libraries.
[Note: tested and compared on Linux.]
configh.cmake.in: Fixed many #cmakedefine and #cmakedefine01 statements
so they #define their variables as 0 or 1, or /* #undef */ it, resp.,
as it is done in the configure build.
Added tests:
- libXrender
Fixed tests:
- function glXGetProcAddressARB
Todo (still failing tests in CMake):
- HAVE_PNG_GET_VALID
- HAVE_PNG_SET_TRNS_TO_ALPHA
- HAVE_DLSYM
Other remaining issues:
- compiler flags introduced in configure/make build
- HAVE_SYS_NDIR_H - maybe missing test in configure ?
- HAVE_SYS_DIR_H - maybe missing test in configure ?
- HAVE_NDIR_H - maybe missing test in configure ?
- WORDS_BIGENDIAN and #include <mac_endianness.h> ...
i.e. Mac OS X specific #include needed or not ?
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10984 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'CMake/resources.cmake')
| -rw-r--r-- | CMake/resources.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMake/resources.cmake b/CMake/resources.cmake index c44e36a15..730f19070 100644 --- a/CMake/resources.cmake +++ b/CMake/resources.cmake @@ -49,6 +49,7 @@ mark_as_advanced(HAVE_OPENGL_GLU_H HAVE_PNG_H HAVE_PTHREAD_H) mark_as_advanced(HAVE_STDIO_H HAVE_STRINGS_H HAVE_SYS_DIR_H) mark_as_advanced(HAVE_SYS_NDIR_H HAVE_SYS_SELECT_H) mark_as_advanced(HAVE_SYS_STDTYPES_H HAVE_XDBE_H) +mark_as_advanced(HAVE_X11_XREGION_H) # where to find freetype headers find_path(FREETYPE_PATH freetype.h PATH_SUFFIXES freetype2) |
