From c0375e5adaa4998a7c9a1d81e16dfbc53b76acd9 Mon Sep 17 00:00:00 2001 From: sanine Date: Sun, 12 Mar 2023 00:54:01 -0600 Subject: specify opengl version in CMakeLists.txt --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f04e0c1..b262e84 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ if (UNIX) set(CMAKE_C_FLAGS "-g") endif() -find_package(OpenGL REQUIRED) +find_package(OpenGL 3.3 REQUIRED) set(SRC_ROOT ${CMAKE_SOURCE_DIR}/src) set(LIB_ROOT ${CMAKE_SOURCE_DIR}/libs) -- cgit v1.2.1