Skip to content

Commit

Permalink
use glob to find all headers to be installed
Browse files Browse the repository at this point in the history
  • Loading branch information
ricrogz committed Oct 15, 2019
1 parent a653994 commit 16a1381
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 MaeConstants.hpp MaeParser.hpp MaeParserConfig.hpp Reader.hpp Writer.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 16a1381

Please sign in to comment.