You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
CMake Error at dlib/cmake_utils/use_cpp_11.cmake:74 (target_compile_features):
target_compile_features no known features for CXX compiler
"Clang"
version 9.0.1.
Call Stack (most recent call first):
dlib/CMakeLists.txt:858 (enable_cpp11_for_target)
-- Building a C++11 test project to see if your compiler supports C++11
-- C++11 activated.
-- Configuring incomplete, errors occurred!
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: