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)