Skip to content
This repository was archived by the owner on May 6, 2021. It is now read-only.

Commit d80efce

Browse files
committed
Merge branch 'add_x11'
2 parents 8bbb604 + 7919b8e commit d80efce

34 files changed

+2358
-1626
lines changed

CMakeLists.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,17 @@ option(ENABLE_DISPMANX "Enable the RPi dispmanx grabber" ON)
1111
message(STATUS "ENABLE_DISPMANX = " ${ENABLE_DISPMANX})
1212

1313
option(ENABLE_SPIDEV "Enable the SPIDEV device" ON)
14-
message(STATUS "ENABLE_SPIDEV = " ${ENABLE_SPIDEV})
14+
message(STATUS "ENABLE_SPIDEV = " ${ENABLE_SPIDEV})
1515

1616
option(ENABLE_WS2812BPWM "Enable the WS2812b-PWM device" OFF)
1717
message(STATUS "ENABLE_WS2812BPWM = " ${ENABLE_WS2812BPWM})
1818

1919
option(ENABLE_V4L2 "Enable the V4L2 grabber" ON)
2020
message(STATUS "ENABLE_V4L2 = " ${ENABLE_V4L2})
2121

22+
option(ENABLE_X11 "Enable the X11 grabber" ON)
23+
message(STATUS "ENABLE_X11 = " ${ENABLE_X11})
24+
2225
option(ENABLE_TINKERFORGE "Enable the TINKERFORGE device" ON)
2326
message(STATUS "ENABLE_TINKERFORGE = " ${ENABLE_TINKERFORGE})
2427

@@ -54,8 +57,8 @@ include_directories(${CMAKE_SOURCE_DIR}/include)
5457
# Prefer static linking over dynamic
5558
#set(CMAKE_FIND_LIBRARY_SUFFIXES ".a;.so")
5659

57-
#set(CMAKE_BUILD_TYPE "Debug")
58-
set(CMAKE_BUILD_TYPE "Release")
60+
set(CMAKE_BUILD_TYPE "Debug")
61+
#set(CMAKE_BUILD_TYPE "Release")
5962

6063
# enable C++11
6164
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -Wall")

0 commit comments

Comments
 (0)