Skip to content

Commit

Permalink
Set the default value
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseTG committed Oct 24, 2023
1 parent 9ea04c7 commit a16d9de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/ConfigureFeatures.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ option(ENABLE_NETWORKING "Build with networking support, if supported by the tar
option(ENABLE_SCCACHE "Build with sccache instead of ccache, if available." OFF)
option(ENABLE_ZLIB "Build with zlib support, if supported by the target." ON)
option(ENABLE_GLSM_DEBUG "Enable debug output for GLSM." OFF)
option(ENABLE_OPENGL "Enable OpenGL support. Not supported on all platforms; defaults to OFF in such case." ${})
option(ENABLE_OPENGL "Enable OpenGL support. Not supported on all platforms; defaults to OFF in such case." ${DEFAULT_ENABLE_OPENGL})
set(OPENGL_PROFILE ${DEFAULT_OPENGL_PROFILE} CACHE STRING "OpenGL profile to use if OpenGL is enabled. Valid values are 'OpenGL', 'OpenGLES2', 'OpenGLES3', 'OpenGLES31', and 'OpenGLES32'.")
set_property(CACHE OPENGL_PROFILE PROPERTY STRINGS OpenGL OpenGLES2 OpenGLES3)

Expand Down

0 comments on commit a16d9de

Please sign in to comment.