You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-libs/libmediawiki/files/libmediawiki-5.0.0_pre20170...

16 lines
470 B

--- a/CMakeLists.txt 2017-05-20 11:13:08.095098473 +0200
+++ b/CMakeLists.txt 2017-05-20 11:18:00.993712729 +0200
@@ -45,8 +45,10 @@
# Subdirectories
add_subdirectory(src)
-add_subdirectory(autotests)
-add_subdirectory(tests)
+if(BUILD_TESTING)
+ add_subdirectory(autotests)
+ add_subdirectory(tests)
+endif()
# Create a Config.cmake and a ConfigVersion.cmake file and install them
set(CMAKECONFIG_INSTALL_DIR "${CMAKECONFIG_INSTALL_PREFIX}/KF5MediaWiki")