From 087cd3f22124e8fc09b113958ecb144cc3ba3e07 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Tue, 20 Jun 2017 09:44:03 +0200 Subject: Allow IPECAMERA_WIDTH to be set during configure --- src/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/CMakeLists.txt') 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") -- cgit v1.2.3