Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | FindGTK2: Avoid depending on if() to dereference a quoted variable | Brad King | 2014-09-11 | 1 | -1/+1 |
| | | | | | Explicitly dereference GTK2_${_var}CONFIG_INCLUDE_DIR and GTK2_${_var}_INCLUDE_DIR when comparing their values. | ||||
* | FindGTK2: Fix missing optional include dirs. | Chuck Atkins | 2014-09-04 | 1 | -1/+5 |
| | | | | | | | | | FindGTK2 was adding optional include directories to the interface include dirs regardless of whether or not they existed. This ensures that the directories only get added if they are actually found. This is particularly a problem on Solaris where the gtk2 libs and headers might exist but the FreeType2 headers might not. | ||||
* | Do not change minimum required version in modules | Daniele E. Domenichelli | 2014-05-19 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | Some modules change CMake minimum required version when they are included. For example: cmake_minimum_required(VERSION 2.8.12) message("${CMAKE_MINIMUM_REQUIRED_VERSION}") include(CheckTypeSize) message("${CMAKE_MINIMUM_REQUIRED_VERSION}") will produce the following output: 2.8.12 2.6 This patch ensures that when you include a CMake module the minimum required version and the policies set are left unchanged. Fixes Issue #14864 | ||||
* | FindGTK2: search for Fontconfig and X11 before using them | Rolf Eike Beer | 2014-04-23 | 1 | -4/+4 |
| | |||||
* | FindGTK2: Add GTK2_(FONTCONFIG|X11)_INCLUDE_DIR optional includes | Daniele E. Domenichelli | 2014-04-21 | 1 | -10/+26 |
| | |||||
* | FindGTK2: Add /usr/X11R6/ to include paths | Daniele E. Domenichelli | 2014-04-15 | 1 | -0/+2 |
| | | | | | Should fix builds on OpenBSD, see http://open.cdash.org/viewTest.php?onlyfailed&buildid=3286713 | ||||
* | CMake 3.0.0-rc1 version update | Brad King | 2014-02-19 | 1 | -1/+1 |
| | |||||
* | FindGTK2: Add support for Quartz backend on MAC | Daniele E. Domenichelli | 2013-11-24 | 1 | -2/+12 |
| | | | | Fix issue #14593 | ||||
* | Convert builtin help to reStructuredText source files | Kitware Robot | 2013-10-15 | 1 | -35/+77 |
| | | | | | | | | Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it. | ||||
* | FindGTK2: Make pangocairo and cairo optional dependencies | Daniele E. Domenichelli | 2013-10-08 | 1 | -12/+14 |
| | |||||
* | FindGTK2: Change extra includes -> optional | Daniele E. Domenichelli | 2013-10-08 | 1 | -24/+18 |
| | | | | On some versions they are not required. | ||||
* | FindGTK2: do not skip target creation if optional dependencies are not found | Daniele E. Domenichelli | 2013-10-08 | 1 | -7/+12 |
| | | | | On some older GTK2 version gio, giomm and cairomm are not available | ||||
* | FindGTK2: Refactor _GTK2_ADJUST_LIB_VARS into _GTK2_ADD_TARGET | Daniele E. Domenichelli | 2013-10-08 | 1 | -152/+161 |
| | | | | | | | | | This function avoids creating the targets when the required dependencies were not found. Also fix some wrong dependency and some typo. ${FREETYPE_INCLUDE_DIR_ft2build} ${FREETYPE_INCLUDE_DIR_freetype2} are now required for gtkmm component | ||||
* | FindGTK2: Do not add freetype includes if they are not found | Daniele E. Domenichelli | 2013-10-08 | 1 | -2/+6 |
| | | | | On some older system they are not required | ||||
* | FindGTK2: Add libraries to the GTK2_LIBRARIES variable only when found | Daniele E. Domenichelli | 2013-10-08 | 1 | -2/+4 |
| | | | | | | Some libraries (e.g. gio) are not necessary, and often not available with older GTK2 versions, therefore GTK_LIBRARIES should not contain GTK2_XXX-NOT_FOUND for these libraries. | ||||
* | FindGTK2: Do not link libfreetype | Daniele E. Domenichelli | 2013-10-08 | 1 | -34/+12 |
| | | | | | | | | | | As discussed on the mailing list, freetype includes used in GTK2 headers libraries do not require to link the library explicitly (even though it is already linked by GTK2 libraries. Also remove _GTK2_ADD_TARGET_LIBRARIES no longer used and use ${FREETYPE_INCLUDE_DIR_ft2build} ${FREETYPE_INCLUDE_DIR_freetype2} variables instead of ${FREETYPE_INCLUDE_DIRS} | ||||
* | FindGTK2: Add config directories only if different from include ones | Daniele E. Domenichelli | 2013-10-08 | 1 | -1/+1 |
| | |||||
* | FindGTK2: Set INTERFACE_COMPILE_DEFINITIONS target property only if not empty | Daniele E. Domenichelli | 2013-10-08 | 1 | -1/+3 |
| | |||||
* | FindGTK2: Add check to ensure that target exists | Daniele E. Domenichelli | 2013-10-08 | 1 | -5/+7 |
| | |||||
* | FindGTK2: Fix gmodule, glibmm, pangoft2, and pangoxft targets | Daniele E. Domenichelli | 2013-10-08 | 1 | -3/+8 |
| | |||||
* | FindGTK2: Link freetype libs to targets including freetype includes | Daniele E. Domenichelli | 2013-10-08 | 1 | -0/+21 |
| | |||||
* | FindGTK2: Small cleanup | Daniele E. Domenichelli | 2013-10-08 | 1 | -1/+0 |
| | |||||
* | FindGTK2: Do not require the GTK_ prefix in all the internal functions | Daniele E. Domenichelli | 2013-10-08 | 1 | -146/+148 |
| | | | | This saves from using string(REGEXP) to create targets | ||||
* | FindGTK2: Better handling of include directories | Daniele E. Domenichelli | 2013-10-08 | 1 | -13/+15 |
| | | | | Add a method _GTK2_ADD_TARGET_INCLUDE_DIRS to handle it. | ||||
* | FindGTK2: Create targets for each library | Daniele E. Domenichelli | 2013-10-08 | 1 | -3/+147 |
| | | | | | | | | Methods: * _GTK2_ADJUST_LIB_VARS * _GTK2_ADD_TARGET_DEPENDS_INTERNAL * _GTK2_ADD_TARGET_DEPENDS are strongly inspired by FindQt4.cmake | ||||
* | FindGTK2: Search for glib-object.h instead of gobject/gobject.h | Daniele E. Domenichelli | 2013-10-08 | 1 | -1/+1 |
| | | | | This is the topmost include file for GObject header files | ||||
* | FindGTK2: Populate GTK2_DEFINITIONS before searching for libraries | Daniele E. Domenichelli | 2013-10-08 | 1 | -14/+14 |
| | |||||
* | FindGTK2: Export GTK2_XXX_FOUND to parent scope in _GTK2_FIND_LIBRARY | Daniele E. Domenichelli | 2013-10-08 | 1 | -0/+3 |
| | | | | Also add a debug message to report if the library was found or not | ||||
* | FindGTK2: Search for modules quietly when needed | Daniele E. Domenichelli | 2013-10-08 | 1 | -0/+2 |
| | |||||
* | FindGTK2: Find freetype quietly | Daniele E. Domenichelli | 2013-10-08 | 1 | -1/+1 |
| | |||||
* | FindGTK2: Mark GTK_*_INCLUDE_DIR as advanced | Daniele E. Domenichelli | 2013-10-08 | 1 | -0/+1 |
| | |||||
* | FindGTK2: Detect pangoft2 and pangoxft libraries | Daniele E. Domenichelli | 2013-08-01 | 1 | -1/+5 |
| | |||||
* | FindGTK2: Detect gmodule library | Daniele E. Domenichelli | 2013-07-31 | 1 | -0/+3 |
| | |||||
* | FindGTK2: gthread-2.0 folder does not exist | Daniele E. Domenichelli | 2013-07-31 | 1 | -1/+0 |
| | | | | Partially revert commit 508e8ca024e47baea342da85c7bbd014c7fd6c30 | ||||
* | FindGTK2: Remove GTK2_SKIP_MARK_AS_ADVANCED option | Daniele E. Domenichelli | 2013-07-29 | 1 | -9/+2 |
| | | | | | Variables are now automatically marked as advanced by SelectLibraryConfigurations | ||||
* | FindGTK2: Update local changelog | Daniele E. Domenichelli | 2013-07-29 | 1 | -0/+9 |
| | |||||
* | FindGTK2: Append _INCLUDE_DIR to var name in _GTK2_FIND_INCLUDE_DIR | Daniele E. Domenichelli | 2013-07-29 | 1 | -35/+35 |
| | | | | | This is to keep _GTK2_FIND_INCLUDE_DIR and _GTK2_FIND_LIBRARY coherent after previous commit | ||||
* | FindGTK2: Append _LIBRARY to var name in _GTK2_FIND_LIBRARY | Daniele E. Domenichelli | 2013-07-29 | 1 | -39/+36 |
| | | | | | This avoids to get the base name using a regexp, in order to use SelectLibraryConfigurations | ||||
* | FindGTK2: Use GTK_XXX_LIBRARY_DEBUG libraries in debug mode | Daniele E. Domenichelli | 2013-07-29 | 1 | -17/+27 |
| | | | | | | | If the GTK_XXX_LIBRARY_DEBUG library is available, it is now used when linking in debug mode XXX. A new set of variables GTK_XXX_LIBRARY_RELEASE is added and the original GTK_XXX_LIBRARY uses the optimized/debug syntax. | ||||
* | Merge topic 'FindGTK2vd2' | Brad King | 2013-07-02 | 1 | -0/+17 |
|\ | | | | | | | | | 60e4555 FindGTK2: Add GTK2_DEFINITIONS variable | ||||
| * | FindGTK2: Add GTK2_DEFINITIONS variable | Daniele E. Domenichelli | 2013-06-29 | 1 | -0/+17 |
| | | | | | | | | | | According to https://wiki.gnome.org/gtkmm/MSWindows on MSVC the /vd2 flag should be passed to the compiler in order to use gtkmm | ||||
* | | FindGTK2: Do not fail on MSVC11 if vc100 libraries are available | Daniele E. Domenichelli | 2013-06-29 | 1 | -0/+3 |
|/ | |||||
* | FindGTK2: Detect gthread library | Daniele E. Domenichelli | 2013-06-19 | 1 | -0/+3 |
| | |||||
* | FindGTK2: Move check for pangocairo in gtk module | Daniele E. Domenichelli | 2013-06-19 | 1 | -2/+2 |
| | |||||
* | FindGTK2: Fix GTK2_LIBRARIES order for static gtk libraries | Rodolfo Schulz de Lima | 2013-01-28 | 1 | -35/+41 |
| | | | | | | | | Before this, when creating GTK2_LIBRARIES, FindGTK2 added the GTK dependencies in wrong order into GTK2_LIBRARIES. With dynamic libraries this is not a major problem, but when linking to static gtk libraries, the linker outputs a lot of undefined symbols. Reorder the calls that append libraries to GTK2_LIBRARIES to respect dependency order. | ||||
* | FindGTK2: Update local changelog | Philip Lowman | 2012-10-03 | 1 | -2/+5 |
| | |||||
* | FindGTK2: #12596 Missing paths for FindGTK2 on NetBSD | Philip Lowman | 2012-10-03 | 1 | -0/+2 |
| | |||||
* | FindGTK2: #12049 fix detection of header files on multiarch systems | Philip Lowman | 2012-10-03 | 1 | -0/+7 |
| | |||||
* | FindGTK2: Rollback lib64 changes which broke header file finding | Philip Lowman | 2012-10-03 | 1 | -11/+26 |
| | | | | | | | | The changes in "use PATH_SUFFIXES to simplify find_* calls" on 8/14 regressed important functionality in FindGTK for using find_path to locate header files in <prefix>/lib/<gtk_package>/include. The find_path function doesn't search <prefix>/lib only <prefix>/include. | ||||
* | Merge topic 'read-less-from-version-headers' | David Cole | 2012-08-20 | 1 | -1/+1 |
|\ | | | | | | | | | 4be6783 read less from version headers into variables |