Skip to content

[SR-8889] CMake warning for cmark about policy CMP0063 #51395

Open
@kevints

Description

@kevints
Previous ID SR-8889
Radar None
Original Reporter @kevints
Type Bug
Environment

Ubuntu 14.04
Swift 4.2-RELEASE
cmake 3.5.2

Additional Detail from JIRA
Votes 0
Component/s Source Tooling
Labels Bug, CMake
Assignee None
Priority Medium

md5: e8984f5e3ecc0f59365859c9fe4e1317

Issue Description:

This warning always appears in the build output for cmark.

CMake Warning (dev) at src/CMakeLists.txt:84 (add_library):
  Policy CMP0063 is not set: Honor visibility properties for all target
  types.  Run "cmake --help-policy CMP0063" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  Target "libcmark_static" of type "STATIC_LIBRARY" has the following
  visibility properties set for C:

    C_VISIBILITY_PRESET

  For compatibility CMake is not honoring them for this target.
This warning is for project developers.  Use -Wno-dev to suppress it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.cmake

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions