Unverified Commit ea1dcc4f authored by Dmitry Kalinkin's avatar Dmitry Kalinkin Committed by GitHub
Browse files

Merge pull request #189926 from veprbl/pr/root_rip_via_setup_hook

root: populate ROOT_INCLUDE_PATH via the setupHook
parents c7f16590 0fe6d6f6
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -11,3 +11,9 @@ thisroot () {
}

postHooks+=(thisroot)

addRootInludePath() {
    addToSearchPath ROOT_INCLUDE_PATH $1/include
}

addEnvHooks "$targetOffset" addRootInludePath