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:
parent
8bb522dd4e
commit
0ea8ede5b9
|
@ -74,7 +74,7 @@ install(TARGETS antlr4_static
|
||||||
ARCHIVE DESTINATION lib)
|
ARCHIVE DESTINATION lib)
|
||||||
|
|
||||||
install(DIRECTORY "${PROJECT_SOURCE_DIR}/runtime/src/"
|
install(DIRECTORY "${PROJECT_SOURCE_DIR}/runtime/src/"
|
||||||
DESTINATION "include"
|
DESTINATION "include/antlr4-runtime"
|
||||||
COMPONENT dev
|
COMPONENT dev
|
||||||
FILES_MATCHING PATTERN "*.h"
|
FILES_MATCHING PATTERN "*.h"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue