Fix CMake (Again)
This commit is contained in:
parent
7ecc6cb00b
commit
1dd0526197
@ -10,7 +10,8 @@ elseif(MCPI_USE_GLES1_COMPATIBILITY_LAYER)
|
||||
set(GLES_COMPATIBILITY_LAYER_USE_SDL FALSE CACHE BOOL "" FORCE)
|
||||
set(GLES_COMPATIBILITY_LAYER_DEPENDENCY glfw CACHE STRING "" FORCE)
|
||||
add_subdirectory(dependencies/gles-compatibility-layer)
|
||||
add_library(GLESv1_CM ALIAS gles-compatibility-layer)
|
||||
add_library(GLESv1_CM INTERFACE)
|
||||
target_link_libraries(GLESv1_CM INTERFACE gles-compatibility-layer)
|
||||
else()
|
||||
# Passthrough To glfwGetProcAddress()
|
||||
add_library(GLESv1_CM OBJECT src/passthrough.c)
|
||||
|
Loading…
Reference in New Issue
Block a user