root: populate ROOT_INCLUDE_PATH via the setupHook

This commit is contained in:
Dmitry Kalinkin 2022-09-05 18:47:48 -04:00
parent b371316f5d
commit 0fe6d6f6b9
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333

View file

@ -11,3 +11,9 @@ thisroot () {
}
postHooks+=(thisroot)
addRootInludePath() {
addToSearchPath ROOT_INCLUDE_PATH $1/include
}
addEnvHooks "$targetOffset" addRootInludePath