mirror of
https://invent.kde.org/system/dolphin
synced 2024-07-15 18:01:11 +00:00
Make tests optional
REVIEW: 122212
This commit is contained in:
parent
4a86644b95
commit
23e8995771
|
@ -337,4 +337,7 @@ install( FILES settings/services/servicemenu.knsrc DESTINATION ${CONFIG_INSTALL_
|
|||
install( PROGRAMS settings/services/servicemenuinstallation DESTINATION ${BIN_INSTALL_DIR} )
|
||||
install( PROGRAMS settings/services/servicemenudeinstallation DESTINATION ${BIN_INSTALL_DIR} )
|
||||
|
||||
add_subdirectory(tests)
|
||||
if(BUILD_TESTING)
|
||||
find_package(Qt5Test ${QT_MIN_VERSION} CONFIG REQUIRED)
|
||||
add_subdirectory(tests)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue