From b47e0f5ceb525796dd98900613f3744d45331216 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sat, 2 Sep 2017 15:09:30 +0200 Subject: [PATCH] CMakeLists.txt: Enable building asm code NEON support is provided by filter_neon.S which is currently not build by cmake causing an error when linking with libpng16.so.16.32.0: [ 97%] Linking C executable pngstest libpng16.so.16.32.0: undefined reference to `png_read_filter_row_avg4_neon' libpng16.so.16.32.0: undefined reference to `png_read_filter_row_paeth3_neon' libpng16.so.16.32.0: undefined reference to `png_read_filter_row_up_neon' libpng16.so.16.32.0: undefined reference to `png_read_filter_row_avg3_neon' libpng16.so.16.32.0: undefined reference to `png_read_filter_row_paeth4_neon' libpng16.so.16.32.0: undefined reference to `png_read_filter_row_sub4_neon' libpng16.so.16.32.0: undefined reference to `png_read_filter_row_sub3_neon' --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4803a720d..153d6caf6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,7 +31,7 @@ endif(POLICY CMP0054) set(CMAKE_CONFIGURATION_TYPES "Release;Debug;MinSizeRel;RelWithDebInfo") -project(libpng C) +project(libpng ASM C) enable_testing() set(PNGLIB_MAJOR 1)