Commit e8b5f4b7 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make it compile with UNITY cmake support

parent 81041aca
......@@ -62,6 +62,10 @@ add_definitions(
)
#add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
if (CMAKE_UNITY_BUILD)
add_definitions(-DCMAKE_UNITY_BUILD)
endif()
add_subdirectory(desktop)
add_subdirectory(doc)
add_subdirectory(pics)
......
......@@ -39,7 +39,7 @@
#include <QTreeWidget>
#include <QTreeWidgetItem>
#ifndef KDE_USE_FINAL
#ifndef CMAKE_UNITY_BUILD
static bool GUI;
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment