-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Build on macOS with LLVM 9.0.1 Clang Compiler #2009
Labels
Comments
Thanks for reporting this. Do you want to make pull request with the change? :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @davisking,
building dlib 19.19 on macOS with LLVM 9.0.1 Clang complier fails, because of the
target_compile_features
command which was introduced in CMake version 3.1.Expected Behavior
Build and install dlib 19.19 on macOS with default options.
Current Behavior
Build fails here
Steps to Reproduce
mkdir build; cd build; cmake .. ; cmake --build .
Suggestion
Adding this:
between here solves the problem. I tried also adding this into the
use_cpp_11.cmake
but has no effect.dlib 19.19
Downloaded source from GitHub
macOS (Catalina 10.15.2 (19C57))
LLVM 9.0.1 Clang
CMake 3.16.4
The text was updated successfully, but these errors were encountered: