diff --git a/media-layer/core/gles/CMakeLists.txt b/media-layer/core/gles/CMakeLists.txt index 06be374..5919b08 100644 --- a/media-layer/core/gles/CMakeLists.txt +++ b/media-layer/core/gles/CMakeLists.txt @@ -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)