summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-04-19 17:29:51 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-04-19 17:29:51 +0200
commit8b2867b429fc3d725087c9c87835cc2eea9e734a (patch)
treeddcb2271f8f167388f1430383329c58147e37fc2 /src/CMakeLists.txt
parentca22c863746eababadedac5a25f47b1ae5780d20 (diff)
downloadlibuca-8b2867b429fc3d725087c9c87835cc2eea9e734a.tar.gz
libuca-8b2867b429fc3d725087c9c87835cc2eea9e734a.tar.bz2
libuca-8b2867b429fc3d725087c9c87835cc2eea9e734a.tar.xz
libuca-8b2867b429fc3d725087c9c87835cc2eea9e734a.zip
Add a bit of documentation
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a2d118e..308ab0a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -44,6 +44,8 @@ if (PF_FOUND)
if (HAVE_PHOTON_FOCUS AND CLSERME4_FOUND AND FGLIB5_FOUND)
set(uca_SRCS ${uca_SRCS} cameras/uca-pf-camera.c)
set(uca_HDRS ${uca_HDRS} cameras/uca-pf-camera.h)
+ list(APPEND cameras "Pf")
+
set(uca_LIBS ${uca_LIBS}
${CLSERME4_LIBRARY}
${FGLIB5_LIBRARY}
@@ -176,7 +178,7 @@ if(GTK_DOC_FOUND)
COMMAND ${GTK_DOC_SCAN}
--module=uca
--source-dir=${CMAKE_CURRENT_SOURCE_DIR}
- DEPENDS ${uca_SRCS}
+ DEPENDS ${uca_SRCS}
WORKING_DIRECTORY ${docs_out})
add_custom_command(OUTPUT ${docs_out}/uca.args
@@ -196,7 +198,7 @@ if(GTK_DOC_FOUND)
COMMAND ${GTK_DOC_MKHTML}
uca
${docs_out}/uca-docs.xml
- DEPENDS ${docs_out}/sgml.stamp
+ DEPENDS ${docs_out}/sgml.stamp ${docs_out}/uca-docs.xml
WORKING_DIRECTORY ${docs_out})
add_custom_target(reference ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/../html.stamp)