Commit ccd2d341 authored by Peter Wu's avatar Peter Wu

cmake: Install headers

parent ea6eed10
......@@ -504,6 +504,10 @@ foreach(name
configure_file("${name}.in" "${name}" @ONLY)
endforeach()
include_directories(
"${CMAKE_BINARY_DIR}" # for config.h
)
add_subdirectory(lib)
#add_subdirectory(lib/includes)
......
add_subdirectory(includes)
include_directories(
"${CMAKE_BINARY_DIR}" # for config.h
"${CMAKE_CURRENT_SOURCE_DIR}/includes"
"${CMAKE_CURRENT_BINARY_DIR}/includes"
)
......
install(FILES
nghttp2/nghttp2.h
"${CMAKE_CURRENT_BINARY_DIR}/nghttp2/nghttp2ver.h"
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/nghttp2")
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment