From f5d48df4183f438816e76d84b14391b412815fa9 Mon Sep 17 00:00:00 2001 From: Cosmin Truta Date: Sat, 11 Aug 2018 00:47:18 -0400 Subject: [PATCH] CMakeLists: Remove the PNGARG option Pre-ANSI function prototypes are no longer supported. --- CMakeLists.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9347d4e5c..7e555dbeb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,11 +75,8 @@ option(PNG_TESTS "Build libpng tests" ON) # Many more configuration options could be added here option(PNG_FRAMEWORK "Build OS X framework" OFF) -option(PNG_DEBUG "Build with debug output" OFF) -option(PNGARG "Disable ANSI-C prototypes" OFF) - -option(PNG_HARDWARE_OPTIMIZATIONS "Enable Hardware Optimizations" ON) - +option(PNG_DEBUG "Build with debug output" OFF) +option(PNG_HARDWARE_OPTIMIZATIONS "Enable hardware optimizations" ON) set(PNG_PREFIX "" CACHE STRING "Prefix to add to the API function names") set(DFA_XTRA "" CACHE FILEPATH "File containing extra configuration settings")