aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/objects
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects')
-rw-r--r--src/modules/objects/CMakeLists.txt24
1 files changed, 11 insertions, 13 deletions
diff --git a/src/modules/objects/CMakeLists.txt b/src/modules/objects/CMakeLists.txt
index 5e361415a..ee62632e1 100644
--- a/src/modules/objects/CMakeLists.txt
+++ b/src/modules/objects/CMakeLists.txt
@@ -54,20 +54,18 @@ set(
KvsObject_xmlreader.cpp
)
-if(CMAKE_RESULT_USING_QT5)
- # Qt >= 5.0.0 has no QHttp/QFtp implementation. We use the external code provided by digia.
- set(
- kviobjects_SRCS
- ${kviobjects_SRCS}
- qthttp/qhttp.cpp
- qthttp/qhttpauthenticator.cpp
- qtftp/qftp.cpp
- qtftp/qurlinfo.cpp
- )
+# Qt >= 5.0.0 has no QHttp/QFtp implementation. We use the external code provided by digia.
+set(
+ kviobjects_SRCS
+ ${kviobjects_SRCS}
+ qthttp/qhttp.cpp
+ qthttp/qhttpauthenticator.cpp
+ qtftp/qftp.cpp
+ qtftp/qurlinfo.cpp
+)
- include_directories(qthttp/)
- include_directories(qtftp/)
-endif()
+include_directories(qthttp/)
+include_directories(qtftp/)
set(kvi_module_name kviobjects)