Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
KDiskFree
Commits
e8b5f4b7
Commit
e8b5f4b7
authored
Dec 20, 2020
by
Laurent Montel
😁
Browse files
Make it compile with UNITY cmake support
parent
81041aca
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
e8b5f4b7
...
...
@@ -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
)
...
...
src/mntconfig.cpp
View file @
e8b5f4b7
...
...
@@ -39,7 +39,7 @@
#include <QTreeWidget>
#include <QTreeWidgetItem>
#ifndef
KDE_USE_FINAL
#ifndef
CMAKE_UNITY_BUILD
static
bool
GUI
;
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment