Honor BUILD_TESTING
Only build tests if BUILD_TESTING is on Differential Revision: https://phabricator.kde.org/D13982
This commit is contained in:
parent
92ee4852d9
commit
061588dcd6
@ -181,8 +181,10 @@ if (BUILD_EXAMPLES)
|
||||
add_subdirectory(examples)
|
||||
endif()
|
||||
|
||||
add_subdirectory(autotests)
|
||||
add_subdirectory(tests)
|
||||
if (BUILD_TESTING)
|
||||
add_subdirectory(autotests)
|
||||
add_subdirectory(tests)
|
||||
endif()
|
||||
add_subdirectory(templates)
|
||||
|
||||
################ create PlasmaConfig.cmake and install it ###########################
|
||||
|
Loading…
Reference in New Issue
Block a user