Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
KDebugSettings
Commits
954fe7a8
Commit
954fe7a8
authored
Nov 04, 2019
by
Laurent Montel
Browse files
GIT_SILENT: apply flags if we use source from git
parent
2b720bce
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
954fe7a8
...
...
@@ -35,9 +35,12 @@ include(ECMQtDeclareLoggingCategory)
include
(
GenerateExportHeader
)
add_definitions
(
-DTRANSLATION_DOMAIN=
"kdebugsettings"
)
add_definitions
(
-DQT_DISABLE_DEPRECATED_BEFORE=0x060000
)
add_definitions
(
-DQT_NO_FOREACH
)
add_definitions
(
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000
)
if
(
EXISTS
"
${
CMAKE_SOURCE_DIR
}
/.git"
)
add_definitions
(
-DQT_DISABLE_DEPRECATED_BEFORE=0x060000
)
add_definitions
(
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000
)
endif
()
configure_file
(
config-kdebugsettings.h.cmake
${
CMAKE_CURRENT_BINARY_DIR
}
/config-kdebugsettings.h
)
set
(
KDEBUGSETTINGS_LIB_VERSION
"
${
KDE_APPLICATIONS_VERSION
}
"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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