mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-25 23:31:56 +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)
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
if (COMMAND cmake_policy)
|
if(POLICY CMP0003)
|
||||||
cmake_policy (SET CMP0003 NEW)
|
cmake_policy (SET CMP0003 NEW)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(POLICY CMP0042)
|
||||||
cmake_policy (SET CMP0042 NEW)
|
cmake_policy (SET CMP0042 NEW)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user