mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Make sure intel architecture is properly detected (#1024)
On systems such as FreeBSD, `uname -p` returns amd64 (in lowercase) and -DUSE_AVX_INSTRUCTIONS=1 does not work (the option is ignored).
This commit is contained in:
parent
ced9f6f407
commit
f750268801
@ -41,7 +41,7 @@ endif()
|
||||
|
||||
|
||||
set(gcc_like_compilers GNU Clang Intel)
|
||||
set(intel_archs x86_64 i386 i686 AMD64 x86)
|
||||
set(intel_archs x86_64 i386 i686 AMD64 amd64 x86)
|
||||
|
||||
|
||||
# Setup some options to allow a user to enable SSE and AVX instruction use.
|
||||
|
Loading…
Reference in New Issue
Block a user