[PATCH] [CMake] FreeBSD /usr/local/include


Would maintainers please consider merging attached patch? Detailed description and references to Bugzilla issue and code review are in the commit log.

This solves the issue with googletest headers (headers from /usr/local/include picked up by the build) on FreeBSD: 30877 – cmake/gmake build fails

Phabricator review: ⚙ D37415 Add gtest include directories before system include directories on FreeBSD and DragonFlyBSD


FreeBSD-include.patch (1.39 KB)