Skip to content

Can't build because cmake option MSGPACK_BUILD_TESTS is now on by default #1066

@T5100

Description

@T5100

This line:
OPTION (MSGPACK_BUILD_TESTS "Build msgpack tests." ON)
from this commit
2f54392

caused this error message

CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR

Because I don't have google test.

Expected behavior
OPTION (MSGPACK_BUILD_TESTS "Build msgpack tests." OFF)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions