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
Plasma
Milou
Commits
f86f87e6
Commit
f86f87e6
authored
Dec 26, 2020
by
Alexander Lohnau
💬
Browse files
Disable test dir based on BUILD_TESTING option
parent
f442b33a
Changes
3
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
f86f87e6
...
...
@@ -10,7 +10,7 @@ set(KF5_MIN_VERSION "5.74")
find_package
(
ECM
${
KF5_MIN_VERSION
}
REQUIRED NO_MODULE
)
set
(
CMAKE_MODULE_PATH
${
ECM_MODULE_PATH
}
)
find_package
(
Qt5
${
QT_MIN_VERSION
}
REQUIRED NO_MODULE COMPONENTS Qml Quick Widgets
Test
)
find_package
(
Qt5
${
QT_MIN_VERSION
}
REQUIRED NO_MODULE COMPONENTS Qml Quick Widgets
)
find_package
(
KF5
${
KF5_MIN_VERSION
}
REQUIRED COMPONENTS CoreAddons I18n Declarative ItemModels Service Plasma Runner
)
include
(
FeatureSummary
)
...
...
lib/CMakeLists.txt
View file @
f86f87e6
...
...
@@ -39,4 +39,6 @@ install(TARGETS milou EXPORT MilouLibraryTargets ${KDE_INSTALL_TARGETS_DEFAULT_A
add_subdirectory
(
qml
)
add_subdirectory
(
previews
)
add_subdirectory
(
test
)
if
(
BUILD_TESTING
)
add_subdirectory
(
test
)
endif
()
lib/test/CMakeLists.txt
View file @
f86f87e6
find_package
(
Qt5
${
REQUIRED_QT_VERSION
}
CONFIG REQUIRED Test
)
include_directories
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/..
)
...
...
Alexander Lohnau
💬
@alex
mentioned in merge request
!8 (closed)
·
Dec 26, 2020
mentioned in merge request
!8 (closed)
mentioned in merge request !8
Toggle commit list
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