Skip to content

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

Closed

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)

Activity

  1. redboltz commented on Apr 26, 2023

    @redboltz
    Contributor

    Thank you for reporting the issue.
    I think that the expected behavior you mantioned is right. Could you post the PR to fix it ?

  2. added 3 commits that reference this issue on May 10, 2023
    afc6813
    fe4312c
    366f06d
  3. redboltz commented on May 10, 2023

    @redboltz
    Contributor

    Fixed by #1069

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions