Changed cmake target install dir to an own subfolder for antlr.

Otherwise all headers end up in the include/ root, which is a pain and very unconventional.
This commit is contained in:
Mike Lischke 2016-12-13 11:31:17 +01:00
parent 8bb522dd4e
commit 0ea8ede5b9
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ install(TARGETS antlr4_static
ARCHIVE DESTINATION lib)
install(DIRECTORY "${PROJECT_SOURCE_DIR}/runtime/src/"
DESTINATION "include"
DESTINATION "include/antlr4-runtime"
COMPONENT dev
FILES_MATCHING PATTERN "*.h"
)