--- CMakeLists.txt.orig 2016-03-04 12:09:30 UTC +++ CMakeLists.txt @@ -419,7 +419,8 @@ INSTALL(TARGETS h2o LIBRARY DESTINATION lib) IF (NOT WITHOUT_LIBS) - INSTALL(DIRECTORY include/ DESTINATION include FILES_MATCHING PATTERN "*.h") + INSTALL(DIRECTORY include/ DESTINATION include FILES_MATCHING PATTERN "*.h" + EXCLUDE PATTERN "h2o" EXCLUDE PATTERN "h2o/socket") IF (LIBUV_FOUND) INSTALL(FILES "${CMAKE_BINARY_DIR}/libh2o.pc" DESTINATION lib/pkgconfig) ENDIF ()