This repository was archived by the owner on May 6, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +15
-35
lines changed Expand file tree Collapse file tree 6 files changed +15
-35
lines changed Original file line number Diff line number Diff line change @@ -7,19 +7,19 @@ cmake_minimum_required(VERSION 2.8)
7
7
#set(CMAKE_TOOLCHAIN_FILE /opt/raspberrypi/Toolchain-RaspberryPi.cmake)
8
8
9
9
# set the build options
10
- option (ENABLE_DISPMANX "Enable the RPi dispmanx grabber" ON )
11
- option (ENABLE_SPIDEV "Enable the SPIDEV device" ON )
12
-
10
+ option (ENABLE_DISPMANX "Enable the RPi dispmanx grabber" ON )
13
11
message (STATUS "ENABLE_DISPMANX = " ${ENABLE_DISPMANX} )
14
- message (STATUS "ENABLE_SPIDEV = " ${ENABLE_SPIDEV} )
15
12
16
- option (ENABLE_V4L2 "Enable the V4L2 grabber" ON )
13
+ option (ENABLE_SPIDEV "Enable the SPIDEV device" ON )
14
+ message (STATUS "ENABLE_SPIDEV = " ${ENABLE_SPIDEV} )
15
+
16
+ option (ENABLE_V4L2 "Enable the V4L2 grabber" ON )
17
17
message (STATUS "ENABLE_V4L2 = " ${ENABLE_V4L2} )
18
18
19
19
# Createt the configuration file
20
20
# configure a header file to pass some of the CMake settings
21
21
# to the source code
22
- configure_file ("${PROJECT_SOURCE_DIR} /HyperionConfig.h.in" "${PROJECT_BINARY_DIR} /HyperionConfig.h" )
22
+ configure_file ("${PROJECT_SOURCE_DIR} /HyperionConfig.h.in" "${PROJECT_BINARY_DIR} /HyperionConfig.h" )
23
23
include_directories ("${PROJECT_BINARY_DIR} " )
24
24
25
25
# Add project specific cmake modules (find, etc)
Original file line number Diff line number Diff line change @@ -28,9 +28,5 @@ add_library(boblightserver
28
28
29
29
target_link_libraries (boblightserver
30
30
hyperion
31
- hyperion-utils )
32
-
33
- qt4_use_modules (boblightserver
34
- Core
35
- Gui
36
- Network )
31
+ hyperion-utils
32
+ ${QT_LIBRARIES} )
Original file line number Diff line number Diff line change @@ -37,9 +37,5 @@ add_library(jsonserver
37
37
target_link_libraries (jsonserver
38
38
hyperion
39
39
hyperion-utils
40
- jsoncpp )
41
-
42
- qt4_use_modules (jsonserver
43
- Core
44
- Gui
45
- Network )
40
+ jsoncpp
41
+ ${QT_LIBRARIES} )
Original file line number Diff line number Diff line change @@ -44,9 +44,5 @@ add_library(protoserver
44
44
target_link_libraries (protoserver
45
45
hyperion
46
46
hyperion-utils
47
- ${PROTOBUF_LIBRARIES} )
48
-
49
- qt4_use_modules (protoserver
50
- Core
51
- Gui
52
- Network )
47
+ ${PROTOBUF_LIBRARIES}
48
+ ${QT_LIBRARIES} )
Original file line number Diff line number Diff line change @@ -28,11 +28,7 @@ add_executable(hyperion-remote
28
28
${hyperion-remote_HEADERS}
29
29
${hyperion-remote_SOURCES} )
30
30
31
- qt4_use_modules (hyperion-remote
32
- Core
33
- Gui
34
- Network )
35
-
36
31
target_link_libraries (hyperion-remote
37
32
jsoncpp
38
- getoptPlusPlus )
33
+ getoptPlusPlus
34
+ ${QT_LIBRARIES} )
Original file line number Diff line number Diff line change @@ -49,9 +49,5 @@ target_link_libraries(hyperion-v4l2
49
49
hyperion-utils
50
50
${PROTOBUF_LIBRARIES}
51
51
pthread
52
+ ${QT_LIBRARIES}
52
53
)
53
-
54
- qt4_use_modules (hyperion-v4l2
55
- Core
56
- Gui
57
- Network )
You can’t perform that action at this time.
0 commit comments