aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2018-07-02 17:09:37 +0200
committerLoïc Collignon <loic.collignon@iot.bzh>2018-07-03 17:10:06 +0200
commit2c29f154a70c2ac7f4f5fc8beda75734a15538c5 (patch)
tree30b46db4e717578ba100c734ea6b7152d2bffeab /CMakeLists.txt
parent5bec8c5045c0247f1b4e06b4e159285b110a5b57 (diff)
Remove deprecated use of cmake/Qt macro
Last versions of cmake/Qt don't need the use of some macro anymore. It allows you to put *.qrc files as sources files, which are resources files. Those files need to be processed by a Qt's tool to be transformed as C++ sources files. Change-Id: Ide4b6eef53b3f6edfeac3c0553c79ce4277b1b7b Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 94a4cae..21c9ad0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,6 +22,7 @@
# Add target to project dependency list
PROJECT_TARGET_ADD(afb-helpers)
set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
set(AFB_HELPERS_SRCS wrap-json.c filescan-utils.c escape.c)
@@ -48,7 +49,7 @@ set(CMAKE_AUTOMOC ON)
if (AFB_HELPERS_QTWSCLIENT)
target_link_libraries(${TARGET_NAME} Qt5::WebSockets)
- qt5_use_modules(${TARGET_NAME} WebSockets)
+ #qt5_use_modules(${TARGET_NAME} WebSockets)
endif()
if (CURL_FOUND)