Commit c36e4a26 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Build test/autotest if BUILD_TESTING is defined

parent afad2b67
......@@ -51,8 +51,10 @@ endif (_HAVE_VISIBILITY AND NOT WIN32)
add_subdirectory(src)
add_subdirectory(backends)
add_subdirectory(autotests)
add_subdirectory(tests)
if(BUILD_TESTING)
add_subdirectory(autotests)
add_subdirectory(tests)
endif()
set(CMAKECONFIG_INSTALL_DIR "${CMAKECONFIG_INSTALL_PREFIX}/KF5Screen")
ecm_configure_package_config_file("${CMAKE_CURRENT_SOURCE_DIR}/KF5ScreenConfig.cmake.in"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment