mirror of https://github.com/davisking/dlib.git
Update CmakeLists: add png for arm (#1580)
This commit is contained in:
parent
e73d3adc0e
commit
4b2ef5b8f9
|
@ -447,6 +447,8 @@ if (NOT TARGET dlib)
|
|||
# If we can't find libpng then statically compile it in.
|
||||
include_directories(external/libpng external/zlib)
|
||||
set(source_files ${source_files}
|
||||
external/libpng/arm/arm_init.c
|
||||
external/libpng/arm/filter_neon_intrinsics.c
|
||||
external/libpng/png.c
|
||||
external/libpng/pngerror.c
|
||||
external/libpng/pngget.c
|
||||
|
@ -953,4 +955,4 @@ if (COMMAND pybind11_add_module)
|
|||
set_target_properties(dlib PROPERTIES CUDA_VISIBILITY_PRESET "hidden")
|
||||
endif()
|
||||
|
||||
add_library(dlib::dlib ALIAS dlib)
|
||||
add_library(dlib::dlib ALIAS dlib)
|
||||
|
|
Loading…
Reference in New Issue