Skip to content

Commit

Permalink
cmake: only install ASIO headers when requested
Browse files Browse the repository at this point in the history
  • Loading branch information
Lekensteyn committed Mar 14, 2016
1 parent 4d801cd commit 162b1c5
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/includes/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
install(FILES
nghttp2/asio_http2.h
nghttp2/asio_http2_client.h
nghttp2/asio_http2_server.h
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/nghttp2")
if(ENABLE_ASIO_LIB)
install(FILES
nghttp2/asio_http2.h
nghttp2/asio_http2_client.h
nghttp2/asio_http2_server.h
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/nghttp2")
endif()

0 comments on commit 162b1c5

Please sign in to comment.