Skip to content

When specifying GTest as project dependency it may clash with the one included in BASIS #428

Open
@schuhschuh

Description

@schuhschuh

Issue by schuhschuh
Wednesday Mar 18, 2015 at 19:00 GMT
Originally opened as cmake-basis/legacy#428


When adding "GTest" as project dependency and using a system installation of the gtest library instead of the one included in BASIS, this may lead to strange compilation errors. In the particular case encountered with IRTK, a macro which was not defined in the gtest header files of the older version included in BASIS was undefined when the external gtest.h header file was included. This might be related to wrong include path order and/or include guards.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions