Commit 4b2ef5b8 authored by RedfalconAI's avatar RedfalconAI Committed by Davis E. King

Update CmakeLists: add png for arm (#1580)

parent e73d3adc
...@@ -447,6 +447,8 @@ if (NOT TARGET dlib) ...@@ -447,6 +447,8 @@ if (NOT TARGET dlib)
# If we can't find libpng then statically compile it in. # If we can't find libpng then statically compile it in.
include_directories(external/libpng external/zlib) include_directories(external/libpng external/zlib)
set(source_files ${source_files} set(source_files ${source_files}
external/libpng/arm/arm_init.c
external/libpng/arm/filter_neon_intrinsics.c
external/libpng/png.c external/libpng/png.c
external/libpng/pngerror.c external/libpng/pngerror.c
external/libpng/pngget.c external/libpng/pngget.c
...@@ -953,4 +955,4 @@ if (COMMAND pybind11_add_module) ...@@ -953,4 +955,4 @@ if (COMMAND pybind11_add_module)
set_target_properties(dlib PROPERTIES CUDA_VISIBILITY_PRESET "hidden") set_target_properties(dlib PROPERTIES CUDA_VISIBILITY_PRESET "hidden")
endif() endif()
add_library(dlib::dlib ALIAS dlib) add_library(dlib::dlib ALIAS dlib)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment