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)
|
add_subdirectory(examples)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (BUILD_TESTING)
|
||||||
add_subdirectory(autotests)
|
add_subdirectory(autotests)
|
||||||
add_subdirectory(tests)
|
add_subdirectory(tests)
|
||||||
|
endif()
|
||||||
add_subdirectory(templates)
|
add_subdirectory(templates)
|
||||||
|
|
||||||
################ create PlasmaConfig.cmake and install it ###########################
|
################ create PlasmaConfig.cmake and install it ###########################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user