File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,12 @@ else()
6363 set (UseInternalSDL2 OFF )
6464 set (UseInternalOpenAL OFF )
6565
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)
6772 set (UseInternalPNGDefault OFF )
6873 set (UseInternalJPEGDefault OFF )
6974 set (UseInternalZLIBDefault OFF )
8085 set (UseInternalMiniZipDefault OFF )
8186 set (UseInternalSDL2 OFF )
8287 endif ()
83-
88+
89+ option (UseInternalLibs "Whether to use included libraries instead of locally installed ones" )
8490 option (UseInternalPNG "Whether to use the included libpng instead of a locally installed one" ${UseInternalPNGDefault} )
8591 option (UseInternalJPEG "Whether to use the included libjpeg instead of a locally installed one" ${UseInternalJPEGDefault} )
8692 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