diff options
author | Brad King <brad.king@kitware.com> | 2013-10-09 14:23:31 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-10-09 14:23:31 (GMT) |
commit | e5f17214a522da70c52acf8394a029344c59b9d0 (patch) | |
tree | e15fba734396fa889287dcb13ed7755f8de874b6 /Tests/FindGTK2/gdk/CMakeLists.txt | |
parent | 1c1a904328093933d6d228d8117e5fd7231defb2 (diff) | |
parent | 7efef02df29399d37b692e01fb69de63e558585b (diff) | |
download | CMake-e5f17214a522da70c52acf8394a029344c59b9d0.zip CMake-e5f17214a522da70c52acf8394a029344c59b9d0.tar.gz CMake-e5f17214a522da70c52acf8394a029344c59b9d0.tar.bz2 |
Merge topic 'FindGTK2-targets'
7efef02 FindGTK2: Add tests for components and targets in gtk and gtkmm modules
95fc47a FindGTK2: Make pangocairo and cairo optional dependencies
26f790f FindGTK2: Change extra includes -> optional
24e0272 FindGTK2: do not skip target creation if optional dependencies are not found
d5f130c FindGTK2: Refactor _GTK2_ADJUST_LIB_VARS into _GTK2_ADD_TARGET
fffbd72 FindGTK2: Do not add freetype includes if they are not found
b69720d FindGTK2: Add libraries to the GTK2_LIBRARIES variable only when found
425ec40 FindGTK2: Do not link libfreetype
e9f46df FindGTK2: Add config directories only if different from include ones
56a79e1 FindGTK2: Set INTERFACE_COMPILE_DEFINITIONS target property only if not empty
4b47586 FindGTK2: Add check to ensure that target exists
61242cc FindGTK2: Fix gmodule, glibmm, pangoft2, and pangoxft targets
4b876de FindGTK2: Link freetype libs to targets including freetype includes
67e761f FindGTK2: Small cleanup
682eea3 FindGTK2: Do not require the GTK_ prefix in all the internal functions
0bc3763 FindGTK2: Better handling of include directories
...
Diffstat (limited to 'Tests/FindGTK2/gdk/CMakeLists.txt')
-rw-r--r-- | Tests/FindGTK2/gdk/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/FindGTK2/gdk/CMakeLists.txt b/Tests/FindGTK2/gdk/CMakeLists.txt new file mode 100644 index 0000000..f485236 --- /dev/null +++ b/Tests/FindGTK2/gdk/CMakeLists.txt @@ -0,0 +1,10 @@ +cmake_minimum_required(VERSION 2.8) + +project(gdk C) + +find_package(GTK2 COMPONENTS gtk REQUIRED) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +add_executable(gdk WIN32 main.c) +target_link_libraries(gdk GTK2::gdk) |