cmake: Install headers
This commit is contained in:
parent
ea6eed10c7
commit
ccd2d34160
|
@ -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)
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
add_subdirectory(includes)
|
||||
|
||||
include_directories(
|
||||
"${CMAKE_BINARY_DIR}" # for config.h
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/includes"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/includes"
|
||||
)
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
install(FILES
|
||||
nghttp2/nghttp2.h
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/nghttp2/nghttp2ver.h"
|
||||
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/nghttp2")
|
Loading…
Reference in New Issue