Added alias for add_subdirectory and FetchContent

This commit is contained in:
Guillaume Racicot 2022-10-10 13:29:11 -03:00
parent c2daca5d27
commit af862e56f5

View File

@ -7,6 +7,8 @@ add_library(glfw ${GLFW_LIBRARY_TYPE}
egl_context.c osmesa_context.c null_platform.h null_joystick.h egl_context.c osmesa_context.c null_platform.h null_joystick.h
null_init.c null_monitor.c null_window.c null_joystick.c) null_init.c null_monitor.c null_window.c null_joystick.c)
add_library(glfw3::glfw3 ALIAS glfw)
# The time, thread and module code is shared between all backends on a given OS, # The time, thread and module code is shared between all backends on a given OS,
# including the null backend, which still needs those bits to be functional # including the null backend, which still needs those bits to be functional
if (APPLE) if (APPLE)