summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2018-07-02 17:09:37 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-12-13 14:12:02 +0100
commitec2a978278b4b521e665e1f8c589a4b1f70fc889 (patch)
tree30b46db4e717578ba100c734ea6b7152d2bffeab /CMakeLists.txt
parent6ea9af1bf19ba06e2e30fe88f247fb274751b23d (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)