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

Commit 49860cd

Browse files
committed
Removed use of qt4_use_modules from build files
1 parent 6ce0b12 commit 49860cd

File tree

6 files changed

+15
-35
lines changed

6 files changed

+15
-35
lines changed

CMakeLists.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ cmake_minimum_required(VERSION 2.8)
77
#set(CMAKE_TOOLCHAIN_FILE /opt/raspberrypi/Toolchain-RaspberryPi.cmake)
88

99
# 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)
1311
message(STATUS "ENABLE_DISPMANX = " ${ENABLE_DISPMANX})
14-
message(STATUS "ENABLE_SPIDEV = " ${ENABLE_SPIDEV})
1512

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)
1717
message(STATUS "ENABLE_V4L2 = " ${ENABLE_V4L2})
1818

1919
# Createt the configuration file
2020
# configure a header file to pass some of the CMake settings
2121
# 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")
2323
include_directories("${PROJECT_BINARY_DIR}")
2424

2525
# Add project specific cmake modules (find, etc)

libsrc/boblightserver/CMakeLists.txt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,5 @@ add_library(boblightserver
2828

2929
target_link_libraries(boblightserver
3030
hyperion
31-
hyperion-utils)
32-
33-
qt4_use_modules(boblightserver
34-
Core
35-
Gui
36-
Network)
31+
hyperion-utils
32+
${QT_LIBRARIES})

libsrc/jsonserver/CMakeLists.txt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,5 @@ add_library(jsonserver
3737
target_link_libraries(jsonserver
3838
hyperion
3939
hyperion-utils
40-
jsoncpp)
41-
42-
qt4_use_modules(jsonserver
43-
Core
44-
Gui
45-
Network)
40+
jsoncpp
41+
${QT_LIBRARIES})

libsrc/protoserver/CMakeLists.txt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,5 @@ add_library(protoserver
4444
target_link_libraries(protoserver
4545
hyperion
4646
hyperion-utils
47-
${PROTOBUF_LIBRARIES})
48-
49-
qt4_use_modules(protoserver
50-
Core
51-
Gui
52-
Network)
47+
${PROTOBUF_LIBRARIES}
48+
${QT_LIBRARIES})

src/hyperion-remote/CMakeLists.txt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,7 @@ add_executable(hyperion-remote
2828
${hyperion-remote_HEADERS}
2929
${hyperion-remote_SOURCES})
3030

31-
qt4_use_modules(hyperion-remote
32-
Core
33-
Gui
34-
Network)
35-
3631
target_link_libraries(hyperion-remote
3732
jsoncpp
38-
getoptPlusPlus)
33+
getoptPlusPlus
34+
${QT_LIBRARIES})

src/hyperion-v4l2/CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,5 @@ target_link_libraries(hyperion-v4l2
4949
hyperion-utils
5050
${PROTOBUF_LIBRARIES}
5151
pthread
52+
${QT_LIBRARIES}
5253
)
53-
54-
qt4_use_modules(hyperion-v4l2
55-
Core
56-
Gui
57-
Network)

0 commit comments

Comments
 (0)