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

Can't build with cmake >=2.25.0 #818

Closed
ShiKaiWi opened this issue Apr 10, 2023 · 0 comments · Fixed by #821
Closed

Can't build with cmake >=2.25.0 #818

ShiKaiWi opened this issue Apr 10, 2023 · 0 comments · Fixed by #821
Labels
bug Something isn't working

Comments

@ShiKaiWi
Copy link
Member

ShiKaiWi commented Apr 10, 2023

Describe this problem

It reports failure when building the ceresdb with cmake = 2.26:

    Policy CMP0066 is not set: Honor per-config flags in try_compile()
    source-file signature.  Run "cmake --help-policy CMP0066" for policy
    details.  Use the cmake_policy command to set the policy and suppress this
    warning.

    For compatibility with older versions of CMake, try_compile is not honoring
    caller config-specific compiler flags (e.g.  CMAKE_C_FLAGS_DEBUG) in the
    test project.

Server version

Built on macos 13.3, Apple M1 Pro.

Steps to reproduce

Execute cargo build on the root directory of ceresdb project.

Expected behavior

Successful building.

Additional Information

No response

@ShiKaiWi ShiKaiWi added the bug Something isn't working label Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant