summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVolker Kaiser <volker.kaiser@softwareschneiderei.de>2012-08-02 14:49:11 +0200
committerVolker Kaiser <volker.kaiser@softwareschneiderei.de>2012-08-02 14:49:11 +0200
commitd5881265ee7c3995508aaa84275be498e30c5c8b (patch)
treed94c8635210f0c532e00e6613e1f150eaf474fe8 /test
parente244962e7ea14bdd3fd06fd247bf91c9c75e24b6 (diff)
downloaduca-d5881265ee7c3995508aaa84275be498e30c5c8b.tar.gz
uca-d5881265ee7c3995508aaa84275be498e30c5c8b.tar.bz2
uca-d5881265ee7c3995508aaa84275be498e30c5c8b.tar.xz
uca-d5881265ee7c3995508aaa84275be498e30c5c8b.zip
added variables with which building of test/control and reference documentation can be disabled
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 2ddc464..5797621 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -48,7 +48,11 @@ target_link_libraries(grab-async uca ${GLIB2_LIBRARIES} ${GOBJECT2_LIBRARIES})
add_executable(grab_pylon grab_pylon.c)
target_link_libraries(grab_pylon uca ${GLIB2_LIBRARIES} ${GOBJECT2_LIBRARIES})
-if (GTK2_FOUND)
+if (NOT DEFINED WITH_CONTROL_GUI)
+ set(WITH_CONTROL_GUI TRUE)
+endif()
+
+if (GTK2_FOUND AND WITH_CONTROL_GUI)
include_directories(${GTK2_INCLUDE_DIRS})
add_executable(control