cmake: only install ASIO headers when requested

This commit is contained in:
Peter Wu 2016-03-15 00:02:46 +01:00
parent 4d801cd696
commit 162b1c5e03
1 changed files with 7 additions and 5 deletions

View File

@ -1,5 +1,7 @@
install(FILES if(ENABLE_ASIO_LIB)
install(FILES
nghttp2/asio_http2.h nghttp2/asio_http2.h
nghttp2/asio_http2_client.h nghttp2/asio_http2_client.h
nghttp2/asio_http2_server.h nghttp2/asio_http2_server.h
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/nghttp2") DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/nghttp2")
endif()