mirror of
https://github.com/fltk/fltk.git
synced 2026-05-31 05:35:29 +08:00
Set OPTION_USE_SYSTEM_LIBPNG/JPEG off under macOS by default
This commit is contained in:
+10
-2
@@ -338,7 +338,11 @@ endif (ZLIB_FOUND)
|
|||||||
set (HAVE_LIBZ 1)
|
set (HAVE_LIBZ 1)
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
option (OPTION_USE_SYSTEM_LIBJPEG "use system libjpeg" ON)
|
if (APPLE)
|
||||||
|
option (OPTION_USE_SYSTEM_LIBJPEG "use system libjpeg" OFF)
|
||||||
|
else ()
|
||||||
|
option (OPTION_USE_SYSTEM_LIBJPEG "use system libjpeg" ON)
|
||||||
|
endif (APPLE)
|
||||||
|
|
||||||
if (OPTION_USE_SYSTEM_LIBJPEG)
|
if (OPTION_USE_SYSTEM_LIBJPEG)
|
||||||
include (FindJPEG)
|
include (FindJPEG)
|
||||||
@@ -362,7 +366,11 @@ endif (JPEG_FOUND)
|
|||||||
set (HAVE_LIBJPEG 1)
|
set (HAVE_LIBJPEG 1)
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
option (OPTION_USE_SYSTEM_LIBPNG "use system libpng" ON)
|
if (APPLE)
|
||||||
|
option (OPTION_USE_SYSTEM_LIBPNG "use system libpng" OFF)
|
||||||
|
else ()
|
||||||
|
option (OPTION_USE_SYSTEM_LIBPNG "use system libpng" ON)
|
||||||
|
endif (APPLE)
|
||||||
|
|
||||||
if (OPTION_USE_SYSTEM_LIBPNG)
|
if (OPTION_USE_SYSTEM_LIBPNG)
|
||||||
include (FindPNG)
|
include (FindPNG)
|
||||||
|
|||||||
Reference in New Issue
Block a user