mirror of
https://github.com/lubosz/overte.git
synced 2025-04-05 20:16:01 +02:00
Simplify code according to review
This commit is contained in:
parent
dcd26c8ad6
commit
b416ca1e17
1 changed files with 1 additions and 6 deletions
|
@ -41,12 +41,7 @@ endif()
|
|||
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/_env/EXTERNAL_BUILD_ASSETS.txt" "${EXTERNAL_BUILD_ASSETS}")
|
||||
MESSAGE(STATUS "EXTERNAL_BUILD_ASSETS: ${EXTERNAL_BUILD_ASSETS}")
|
||||
|
||||
set(GLES_OPTION OFF)
|
||||
|
||||
if( DEFINED ENV{USE_GLES} )
|
||||
set(USE_GLES "$ENV{USE_GLES}")
|
||||
set(GLES_OPTION "$ENV{USE_GLES}")
|
||||
endif()
|
||||
set(GLES_OPTION "$ENV{USE_GLES}")
|
||||
|
||||
# Will affect VCPKG dependencies
|
||||
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/_env/USE_GLES.txt" "${GLES_OPTION}")
|
||||
|
|
Loading…
Reference in a new issue