Commit 0a9d1505 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Build test/autotest if BUILD_TESTING is defined

parent 24a859b3
......@@ -42,7 +42,9 @@ find_package(KF5I18n CONFIG REQUIRED)
# Subdirectories
add_subdirectory(src)
add_subdirectory(autotests)
if(BUILD_TESTING)
add_subdirectory(autotests)
endif()
# create a Config.cmake and a ConfigVersion.cmake file and install them
set(CMAKECONFIG_INSTALL_DIR "${CMAKECONFIG_INSTALL_PREFIX}/KDecoration2")
......
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