diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-03-01 12:32:10 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-03-01 12:32:10 +0100 |
commit | b29c78f818ac92f42621c69c29736fe5c8e32c6f (patch) | |
tree | fcafd885b20775ee329ad1f02cce8cce9c557cf6 /test/CMakeLists.txt | |
parent | 13b9b1492cb8aadef6c2905e48cbde93a7135cc0 (diff) | |
download | uca-b29c78f818ac92f42621c69c29736fe5c8e32c6f.tar.gz uca-b29c78f818ac92f42621c69c29736fe5c8e32c6f.tar.bz2 uca-b29c78f818ac92f42621c69c29736fe5c8e32c6f.tar.xz uca-b29c78f818ac92f42621c69c29736fe5c8e32c6f.zip |
Initial prototype of GObject-based libuca
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r-- | test/CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index e2664bf..7d829c3 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -34,3 +34,17 @@ if (GTK2_FOUND) ) endif() +# >>> TEMPORARY TEST EXECUTABLE <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< + +pkg_check_modules(GLIB2 glib-2.0>=2.24 REQUIRED) +pkg_check_modules(GOBJECT2 gobject-2.0>=2.24 REQUIRED) + +include_directories( + ${GLIB2_INCLUDE_DIRS} + ${GOBJECT2_INCLUDE_DIRS} + ${CMAKE_CURRENT_SOURCE_DIR}/../src/cameras + ) + +add_executable(test-gobject test-gobject.c) +target_link_libraries(test-gobject uca-gobject ${GLIB2_LIBRARIES} + ${GOBJECT2_LIBRARIES}) |