Verified Commit 9ec0b0b4 authored by Jonah Brüchert's avatar Jonah Brüchert 🌳

Make building tests optional

parent 5e8168aa
......@@ -39,7 +39,9 @@ endif()
################# build and install #################
add_subdirectory(src)
add_subdirectory(autotests)
if (BUILD_TESTING)
add_subdirectory(autotests)
endif()
install(PROGRAMS org.kde.mobile.angelfish.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES org.kde.mobile.angelfish.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
......
......@@ -32,6 +32,7 @@
{
"name": "angelfish",
"buildsystem": "cmake-ninja",
"config-opts": ["-DBUILD_TESTING=OFF"],
"builddir": true,
"sources": [ { "type": "dir", "path": ".", "skip": [".git"] } ]
}
......
Markdown is supported
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