Skip to content

Commit

Permalink
Also install the generated header when installing header files.
Browse files Browse the repository at this point in the history
  • Loading branch information
justinian committed Jul 10, 2016
1 parent 8eeacb5 commit 4eec7cd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,11 @@ if(INSTALL_HEADERS)
DESTINATION .
FILES_MATCHING PATTERN "*.hpp"
)
install(
DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include
DESTINATION .
FILES_MATCHING PATTERN "*.hpp"
)
endif()

# Set properties for the library
Expand Down

0 comments on commit 4eec7cd

Please sign in to comment.