Skip to content

Commit

Permalink
Merge pull request #55: Use a GLOB to find and install all headers
Browse files Browse the repository at this point in the history
Use a GLOB to find and install all headers
  • Loading branch information
d-b-w authored Oct 15, 2019
2 parents e3ed282 + 16a1381 commit 4f74bed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ INSTALL(EXPORT maeparser-targets
FILE ${PROJECT_NAME}-config.cmake
DESTINATION lib/cmake)

install(FILES Buffer.hpp MaeBlock.hpp MaeParserConfig.hpp MaeParser.hpp Reader.hpp MaeConstants.hpp
DESTINATION include/maeparser)
file(GLOB mae_headers "*.hpp")
install(FILES ${mae_headers} DESTINATION include/maeparser)

target_compile_definitions(maeparser PRIVATE IN_MAEPARSER)

Expand Down

0 comments on commit 4f74bed

Please sign in to comment.