Unverified Commit 067ecd2a authored by Mattia Rizzolo's avatar Mattia Rizzolo
Browse files

Fix build with googletest >= 1.8.0-9 that moved header files around



Closes: #897152
Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 9537d687
Loading
Loading
Loading
Loading
  • Maintainer

    Looks good. Since you are building the Google mock lib from source, you will not need a build dep on libgmock-dev nor on libgtest-dev. The googletest dep is enough.

  • Author Maintainer

    Doesn't seem true here.

    I don't know if whatever flightcrew it's doing is regular or not, but removing the libgmock-dev and libgtest-dev leads to:

    /build/flightcrew-0.7.2+dfsg/src/FlightCrew/tests/stdafx_tests.h:22:10: fatal error: gtest/gtest.h: No such file or directory
     #include <gtest/gtest.h>
              ^~~~~~~~~~~~~~~
    compilation terminated.

    If you have any clue on how to improve the situation, you are more than welcome to commit whatever you want and team upload it :)

  • Maintainer

    I committed a fix -- see 763c0ece. However, IMHO, it's not important enough for an immediate upload.

  • Author Maintainer

    Ack, thank you!

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment