fix build scripts for GRAPHICS_API_OPENGL_SOFTWARE
This commit is contained in:
parent
8fc3041b9a
commit
5e532ff7c0
1 changed files with 6 additions and 6 deletions
|
|
@ -190,7 +190,7 @@ if (NOT ${OPENGL_VERSION} MATCHES "OFF")
|
|||
elseif (${OPENGL_VERSION} MATCHES "ES 3.0")
|
||||
set(GRAPHICS "GRAPHICS_API_OPENGL_ES3")
|
||||
elseif (${OPENGL_VERSION} MATCHES "Software")
|
||||
set(GRAPHICS "GRAPHICS_API_OPENGL_11_SOFTWARE")
|
||||
set(GRAPHICS "GRAPHICS_API_OPENGL_SOFTWARE")
|
||||
endif ()
|
||||
if (NOT "${SUGGESTED_GRAPHICS}" STREQUAL "" AND NOT "${SUGGESTED_GRAPHICS}" STREQUAL "${GRAPHICS}")
|
||||
message(WARNING "You are overriding the suggested GRAPHICS=${SUGGESTED_GRAPHICS} with ${GRAPHICS}! This may fail.")
|
||||
|
|
|
|||
Loading…
Reference in a new issue