summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2017-06-20 09:44:03 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2017-06-20 09:44:03 +0200
commit087cd3f22124e8fc09b113958ecb144cc3ba3e07 (patch)
tree4b625c031b726b1362804580831f3f8a2f7d8dee /src/CMakeLists.txt
parentcdebe61f4b419295012e7de2b33081c9aa48cd73 (diff)
downloadufodecode-087cd3f22124e8fc09b113958ecb144cc3ba3e07.tar.gz
ufodecode-087cd3f22124e8fc09b113958ecb144cc3ba3e07.tar.bz2
ufodecode-087cd3f22124e8fc09b113958ecb144cc3ba3e07.tar.xz
ufodecode-087cd3f22124e8fc09b113958ecb144cc3ba3e07.zip
Allow IPECAMERA_WIDTH to be set during configure
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 85feff4..f0edde7 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -31,6 +31,8 @@ include_directories(
${CMAKE_CURRENT_BINARY_DIR}
)
+set(IPECAMERA_WIDTH "5120" CACHE STRING "Sensor width in pixels (default: 5120)")
+
configure_file("config.h.in"
"${CMAKE_CURRENT_BINARY_DIR}/config.h")