diff --git a/CMakeLists.txt b/CMakeLists.txt index d53b934..a911935 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)