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
KDebugSettings
Commits
f363133e
Commit
f363133e
authored
Jun 21, 2021
by
Laurent Montel
😁
Browse files
Check Qt5Test only if we build test
parent
93c237b3
Pipeline
#66919
passed with stage
in 5 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
f363133e
...
...
@@ -15,7 +15,7 @@ find_package(ECM ${ECM_VERSION} REQUIRED NO_MODULE)
set
(
CMAKE_MODULE_PATH
${
CMAKE_MODULE_PATH
}
${
ECM_MODULE_PATH
}
)
find_package
(
Qt5
${
QT_MIN_VERSION
}
REQUIRED NO_MODULE COMPONENTS Widgets
Test
)
find_package
(
Qt5
${
QT_MIN_VERSION
}
REQUIRED NO_MODULE COMPONENTS Widgets
)
find_package
(
KF5
${
KF5_MIN_VERSION
}
REQUIRED COMPONENTS
CoreAddons
Config
...
...
@@ -61,6 +61,7 @@ endif()
add_subdirectory
(
src
)
if
(
BUILD_TESTING
)
find_package
(
Qt5
${
QT_MIN_VERSION
}
REQUIRED NO_MODULE COMPONENTS Test
)
add_subdirectory
(
autotests
)
endif
()
ecm_qt_install_logging_categories
(
EXPORT KDEBUGSETTINGS FILE kdebugsettings.categories DESTINATION
${
KDE_INSTALL_LOGGINGCATEGORIESDIR
}
)
...
...
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