CMake: fix duplicated os_linux source;
@@ -692,11 +692,10 @@ elseif(ANDROID)
endif()
elseif(UNIX)
if(LOVR_USE_LINUX_EGL)
- target_sources(lovr PRIVATE src/core/os_linux.c)
target_compile_definitions(lovr PRIVATE LOVR_LINUX_EGL)
else()
- target_sources(lovr PRIVATE src/core/os_linux.c)
target_compile_definitions(lovr PRIVATE LOVR_LINUX_X11)
endif()
+ target_sources(lovr PRIVATE src/core/os_linux.c)
target_compile_definitions(lovr PRIVATE LOVR_GL)
endif()
