Fix CMake

This commit is contained in:
TheBrokenRail 2023-08-04 23:22:43 -04:00
parent 4189f3fd1d
commit 7ecc6cb00b
2 changed files with 3 additions and 3 deletions

View File

@ -7,8 +7,8 @@ if(MCPI_HEADLESS_MODE)
target_link_libraries(GLESv1_CM PRIVATE media-layer-headers) target_link_libraries(GLESv1_CM PRIVATE media-layer-headers)
elseif(MCPI_USE_GLES1_COMPATIBILITY_LAYER) elseif(MCPI_USE_GLES1_COMPATIBILITY_LAYER)
# GLESv1_CM Compatibility Layer # GLESv1_CM Compatibility Layer
set(GLES_COMPATIBILITY_LAYER_USE_SDL FALSE) set(GLES_COMPATIBILITY_LAYER_USE_SDL FALSE CACHE BOOL "" FORCE)
set(GLES_COMPATIBILITY_LAYER_DEPENDENCY glfw) set(GLES_COMPATIBILITY_LAYER_DEPENDENCY glfw CACHE STRING "" FORCE)
add_subdirectory(dependencies/gles-compatibility-layer) add_subdirectory(dependencies/gles-compatibility-layer)
add_library(GLESv1_CM ALIAS gles-compatibility-layer) add_library(GLESv1_CM ALIAS gles-compatibility-layer)
else() else()

@ -1 +1 @@
Subproject commit 38d17dd0801f922b1311b822d2243eb528af9725 Subproject commit c6f1947c1b0df71128bfb702ff1a949be5846ac0