  ################# list the subdirectories #################
  if (KF5DocTools_FOUND)
      add_subdirectory(docs)
-@@ -119,7 +120,10 @@ if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po")
+@@ -100,8 +101,11 @@ if (IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po")
      endif()
  endif()
  

index c7f2236..f8af062 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -107,6 +107,7 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/kpackage_version.h
 # make package_version.h available
 include_directories(${CMAKE_CURRENT_BINARY_DIR})
 

 add_subdirectory(autotests)
+endif()
 
 ################ create PackageConfig.cmake and install it ####################
 
-- 
2.14.3

