aboutsummaryrefslogtreecommitdiff
path: root/modules-tests/GObject
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2008-12-02 21:36:37 +0000
committerAlexander Neundorf <neundorf@kde.org>2008-12-02 21:36:37 +0000
commit2272394b6ef05df4c4e8996b09aba0d411f249fc (patch)
tree6f3d2b94aad8c0bdc15a676978bf4d68c6f12ef0 /modules-tests/GObject
parent6f0bf4d857818abe898ec635ea5de0aacf6e5814 (diff)
downloadextra-cmake-modules-2272394b6ef05df4c4e8996b09aba0d411f249fc.tar.gz
extra-cmake-modules-2272394b6ef05df4c4e8996b09aba0d411f249fc.tar.bz2
-add simple tests for more Find-modules
-add support -DMODULE=<name> to test only one module (both with and without pkgconfig) Alex svn path=/trunk/KDE/kdelibs/; revision=891797
Diffstat (limited to 'modules-tests/GObject')
-rw-r--r--modules-tests/GObject/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules-tests/GObject/CMakeLists.txt b/modules-tests/GObject/CMakeLists.txt
new file mode 100644
index 00000000..971a20be
--- /dev/null
+++ b/modules-tests/GObject/CMakeLists.txt
@@ -0,0 +1,5 @@
+include("${CMAKE_CURRENT_SOURCE_DIR}/../TestFindPackage.cmake")
+
+set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../modules" )
+
+test_find_package(GObject GOBJECT INCLUDE_DIR LIBRARIES DEFINITIONS)