Use gmock/gtest headers when PRIVATELIB is defined
The move to /usr/include/private prefixed paths seems to require a bit more
effort in order to compile programs.
Install the headers to /usr/include/private/g{mock,test}/... and automatically
include /usr/include/private in GTESTS_CXXFLAGS to make compilation seamless. I
will work on the more global problem later with @bdrewery.
This commit is contained in:
@@ -7,3 +7,6 @@ GTESTS_CXXFLAGS+= -DGTESTS_HAS_STREAM_REDIRECTION=1
|
||||
GTESTS_CXXFLAGS+= -DGTESTS_LANG_CXX11=1
|
||||
GTESTS_CXXFLAGS+= -frtti
|
||||
GTESTS_CXXFLAGS+= -std=c++11
|
||||
|
||||
# XXX: src.libnames.mk should handle adding this directory.
|
||||
GTESTS_CXXFLAGS+= -I${DESTDIR}${INCLUDEDIR}/private
|
||||
|
||||
Reference in New Issue
Block a user