# do not generate doc and
# drop running ldconfig
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 70abfc0..b38f98f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -62,13 +62,6 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
 # The library code is in src
 add_subdirectory(src)
 
-# The documentation is in doc
-add_subdirectory(doc)
-
-# Tests are in the tests dir
-include(CTest)
-add_subdirectory(tests)
-
 # uninstall target
 if(NOT TARGET uninstall)
   configure_file(
@@ -79,8 +72,3 @@ if(NOT TARGET uninstall)
   add_custom_target(uninstall
     COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
 endif()
-
-# Run ldconfig for certain Unix systems
-if(UNIX AND NOT APPLE)
-  install(CODE "exec_program(ldconfig)")
-endif()
