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

No known features for CXX compiler "Clang" #318

Open
Xayah-Hina opened this issue Apr 20, 2021 · 5 comments
Open

No known features for CXX compiler "Clang" #318

Xayah-Hina opened this issue Apr 20, 2021 · 5 comments
Assignees

Comments

@Xayah-Hina
Copy link

Xayah-Hina commented Apr 20, 2021

Fluid Engine can throw a error that prevent me from a successful build on my environment (MacOS big sur, clang 11, cmake 3.19.6)

adding this line in the root CMakeLists.txt may help! (I put this line under the cmake_minimum_required(...) line)

cmake_policy(SET CMP0025 NEW)

a subtle fix advice, best regards!

@utilForever
Copy link
Collaborator

@Xayahp Thanks for report! I'll investgate this issue. ✋

@utilForever
Copy link
Collaborator

utilForever commented Apr 20, 2021

@doyubkim CMP0025 in CMake is used for the policy to use compiler ID either AppleClang or Clang.
This policy was introduced in CMake version 3.0. However, our minimum version of CMake is 2.8.12.
What do you think about upgrading CMake version to 3?
Reference: https://cmake.org/cmake/help/latest/policy/CMP0025.html

@doyubkim
Copy link
Owner

I'm fine with 3.0. Let's make sure it is well documented in the readme and other docs.

@utilForever
Copy link
Collaborator

If you don't mind, I'll work on it and ready to PR within this week.

@doyubkim
Copy link
Owner

Sounds good to me!

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

No branches or pull requests

3 participants