Honor BUILD_TESTING

Only build tests if BUILD_TESTING is on

Differential Revision: https://phabricator.kde.org/D13947
wilder
Antonio Rojas 8 years ago
parent 1c8c887402
commit 00646c7824
  1. 4
      CMakeLists.txt

@ -39,7 +39,9 @@ ecm_setup_version(PROJECT VARIABLE_PREFIX KCONFIG
add_subdirectory(src)
add_subdirectory(autotests)
if (BUILD_TESTING)
add_subdirectory(autotests)
endif()
include (ECMPoQmTools)
if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po")

Loading…
Cancel
Save