From 04f37bc99f6f442e0d379c53b98ee221f990f3c4 Mon Sep 17 00:00:00 2001 From: Bart van Strien Date: Sun, 20 May 2018 12:21:50 +0200 Subject: [PATCH] Fix cmake policy warning Use GLVND where applicable --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0b2c2fa65..5a447bc60 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,6 +66,10 @@ endif() message(STATUS "Target platform: ${LOVE_TARGET_PLATFORM}") +if(POLICY CMP0072) + cmake_policy(SET CMP0072 NEW) +endif() + find_package(OpenGL) if(MEGA)