summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-04-20 11:58:58 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-04-20 11:58:58 +0200
commit8c0ebc3facd840d70f4d718074eadf93408a904a (patch)
tree04b7b2ce118a9d314a76a867690931cf66eb100d /src/CMakeLists.txt
parenta9483880ae4a9fdcaf1d942d9ea79224d0cfe9c7 (diff)
downloadlibuca-8c0ebc3facd840d70f4d718074eadf93408a904a.tar.gz
libuca-8c0ebc3facd840d70f4d718074eadf93408a904a.tar.bz2
libuca-8c0ebc3facd840d70f4d718074eadf93408a904a.tar.xz
libuca-8c0ebc3facd840d70f4d718074eadf93408a904a.zip
Don't install camera headers
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f1d2cf5..b0f62be 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -5,10 +5,6 @@ set(uca_SRCS
uca-camera.c
)
-set(uca_HDRS
- uca-camera.h
- )
-
set(cameras)
# --- Find packages and libraries ---------------------------------------------
@@ -43,7 +39,6 @@ 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}
@@ -62,7 +57,6 @@ if (PCO_FOUND AND CLSERME4_FOUND AND FGLIB5_FOUND)
if (HAVE_PCO_CL)
set(uca_SRCS ${uca_SRCS} cameras/uca-pco-camera.c)
- set(uca_HDRS ${uca_HDRS} cameras/uca-pco-camera.h)
list(APPEND cameras "Pco")
set(uca_LIBS ${uca_LIBS}
@@ -82,7 +76,6 @@ if (IPE_FOUND)
if (HAVE_UFO_CAMERA)
set(uca_SRCS ${uca_SRCS} cameras/uca-ufo-camera.c)
- set(uca_HDRS ${uca_HDRS} cameras/uca-ufo-camera.h)
set(uca_LIBS ${uca_LIBS} ${IPE_LIBRARIES})
list(APPEND cameras "Ufo")
@@ -92,7 +85,6 @@ endif()
if (HAVE_MOCK_CAMERA)
set(uca_SRCS ${uca_SRCS} cameras/uca-mock-camera.c)
- set(uca_HDRS ${uca_HDRS} cameras/uca-mock-camera.h)
list(APPEND cameras "Mock")
endif()
@@ -214,7 +206,7 @@ set(LIB_INSTALL_DIR "lib${LIB_SUFFIX}")
install(TARGETS uca
LIBRARY DESTINATION ${LIB_INSTALL_DIR})
-install(FILES ${uca_HDRS}
+install(FILES uca-camera.h
DESTINATION include/uca)
# --- install pkg-config file