set a cmake policy
Jtaim opened this issue · comments
James Weiland commented
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")
Gyusun Yeom commented
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.