mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-22 13:55:07 +00:00
Conditional cmake policy CMP0003 and CMP0042
This commit is contained in:
parent
40fbbe826c
commit
8b2d34956c
@ -8,8 +8,11 @@ cmake_minimum_required (VERSION 2.8.12)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
if (COMMAND cmake_policy)
|
||||
if(POLICY CMP0003)
|
||||
cmake_policy (SET CMP0003 NEW)
|
||||
endif()
|
||||
|
||||
if(POLICY CMP0042)
|
||||
cmake_policy (SET CMP0042 NEW)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user