avoid installing internal header files
[oweals/ustream-ssl.git] / CMakeLists.txt
index 1178c62763fb136c26b956f2083fe15e57e265a3..f6009e7ba6824521c016758eee17255b6531a06d 100644 (file)
@@ -28,8 +28,7 @@ TARGET_LINK_LIBRARIES(ustream-ssl ubox ${SSL_LIB})
 ADD_EXECUTABLE(ustream-example ustream-example.c)
 TARGET_LINK_LIBRARIES(ustream-example ustream-ssl)
 
-FILE(GLOB headers *.h)
-INSTALL(FILES ${headers}
+INSTALL(FILES ustream-ssl.h
        DESTINATION include/libubox
 )
 INSTALL(TARGETS ustream-ssl