Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake policy warning (CMP0063) #66

Closed
basiliscos opened this issue Sep 30, 2018 · 1 comment
Closed

cmake policy warning (CMP0063) #66

basiliscos opened this issue Sep 30, 2018 · 1 comment

Comments

@basiliscos
Copy link

When I build libzip as static library, cmake complains:

CMake Warning (dev) at .../zip/lib/CMakeLists.txt:215 (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 "zip" 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.

cmake version 3.10.0

@0-wiz-0
Copy link
Member

0-wiz-0 commented Sep 30, 2018

It is just a warning.
If you can show that this leads to problems, feel free to re-open.

@0-wiz-0 0-wiz-0 closed this as completed Sep 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants