Perlmint / glew-cmake

GLEW(https://github.com/nigels-com/glew, source updated nightly) with Cmake and pre-generated sources

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

set a cmake policy

Jtaim opened this issue · comments

I'm using as submodule in my project using CMAKE version 3.19.4. Get a warning about CMP0048.

Can a policy be set in glews CMakeLists.tx to supress this warning?
CMakeLists.txt

cmake_minimum_required(VERSION 2.8.12)

if (POLICY CMP0048)
cmake_policy(SET CMP0048 NEW)
endif()

project("glew")

Thank you for the suggestion.
I changed the way of specifying the project version in a new way and set CMP0048 new.
It is included in PR.