summaryrefslogtreecommitdiffstats
path: root/test/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-09-21 11:47:42 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-09-21 11:47:42 +0200
commit10af0e5911e06d041874a3da7adafa3f21319def (patch)
tree8a8de98aeac3e68cec71fe67ea435acc18ae3587 /test/CMakeLists.txt
parent2c770ee3fe040186602aeadd62a5d256724e1105 (diff)
downloaduca-10af0e5911e06d041874a3da7adafa3f21319def.tar.gz
uca-10af0e5911e06d041874a3da7adafa3f21319def.tar.bz2
uca-10af0e5911e06d041874a3da7adafa3f21319def.tar.xz
uca-10af0e5911e06d041874a3da7adafa3f21319def.zip
Port control GUI to use the plugin manager
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r--test/CMakeLists.txt34
1 files changed, 17 insertions, 17 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 37ea6bf..651c805 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -51,23 +51,23 @@ target_link_libraries(grab uca ${GLIB2_LIBRARIES} ${GOBJECT2_LIBRARIES})
# set(WITH_CONTROL_GUI TRUE)
#endif()
#
-#if (GTK2_FOUND AND WITH_CONTROL_GUI)
-# include_directories(${GTK2_INCLUDE_DIRS})
-#
-# add_executable(control
-# control.c
-# egg-property-cell-renderer.c
-# egg-property-tree-view.c)
-#
-# target_link_libraries(control uca
-# ${GTK2_LIBRARIES} ${GTHREAD2_LIBRARIES})
-#
-# install(TARGETS control
-# RUNTIME DESTINATION bin)
-#
-# install(FILES control.glade
-# DESTINATION share/libuca)
-#endif()
+if (GTK2_FOUND)
+ include_directories(${GTK2_INCLUDE_DIRS})
+
+ add_executable(control
+ control.c
+ egg-property-cell-renderer.c
+ egg-property-tree-view.c)
+
+ target_link_libraries(control uca
+ ${GTK2_LIBRARIES} ${GTHREAD2_LIBRARIES})
+
+ install(TARGETS control
+ RUNTIME DESTINATION bin)
+
+ install(FILES control.glade
+ DESTINATION share/libuca)
+endif()
#if (HAVE_MOCK_CAMERA)
# add_executable(test-mock test-mock.c)