File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,12 @@ else()
63
63
set (UseInternalSDL2 OFF )
64
64
set (UseInternalOpenAL OFF )
65
65
66
- if (MINGW)
66
+ if (UseInternalLibs)
67
+ set (UseInternalPNGDefault ON )
68
+ set (UseInternalJPEGDefault ON )
69
+ set (UseInternalZLIBDefault ON )
70
+ set (UseInternalMiniZipDefault ON )
71
+ elseif (MINGW)
67
72
set (UseInternalPNGDefault OFF )
68
73
set (UseInternalJPEGDefault OFF )
69
74
set (UseInternalZLIBDefault OFF )
80
85
set (UseInternalMiniZipDefault OFF )
81
86
set (UseInternalSDL2 OFF )
82
87
endif ()
83
-
88
+
89
+ option (UseInternalLibs "Whether to use included libraries instead of locally installed ones" )
84
90
option (UseInternalPNG "Whether to use the included libpng instead of a locally installed one" ${UseInternalPNGDefault} )
85
91
option (UseInternalJPEG "Whether to use the included libjpeg instead of a locally installed one" ${UseInternalJPEGDefault} )
86
92
option (UseInternalZLIB "Whether to use the included zlib instead of a locally installed one" ${UseInternalZLIBDefault} )
You can’t perform that action at this time.
0 commit comments