From ef478ade649add1ab1706370ff53bcb0c32798d1 Mon Sep 17 00:00:00 2001 From: Michael Lutz Date: Sat, 16 Jan 2021 16:43:04 +0100 Subject: Add: [Win32] Video driver that uses OpenGL to transfer the video buffer to the screen. --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index ad78e441e..74692d970 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -135,6 +135,10 @@ if(NOT WIN32) endif() endif() +if(NOT EMSCRIPTEN) + find_package(OpenGL COMPONENTS OpenGL) +endif() + if(MSVC) find_package(Editbin REQUIRED) endif() @@ -245,6 +249,7 @@ if(NOT OPTION_DEDICATED) link_package(Fontconfig TARGET Fontconfig::Fontconfig) link_package(ICU_lx) link_package(ICU_i18n) + link_package(OpenGL TARGET OpenGL::GL) endif() if(APPLE) -- cgit v1.2.3-54-g00ecf