Remove unncessary cmake policy definitions

This commit is contained in:
Scott Giese 2021-02-13 21:43:48 -06:00
parent 6319254d71
commit a1f83542cb

View File

@ -1,9 +1,5 @@
cmake_minimum_required (VERSION 3.10) cmake_minimum_required (VERSION 3.10)
cmake_policy(SET CMP0054 NEW)
cmake_policy(SET CMP0042 NEW)
cmake_policy(SET CMP0067 NEW)
# OpenGL VND policy : use the old definition for now, until we can audit this # OpenGL VND policy : use the old definition for now, until we can audit this
if(POLICY CMP0072) if(POLICY CMP0072)
cmake_policy(SET CMP0072 OLD) cmake_policy(SET CMP0072 OLD)
@ -13,7 +9,6 @@ if(POLICY CMP0093)
cmake_policy(SET CMP0093 NEW) cmake_policy(SET CMP0093 NEW)
endif() endif()
message(STATUS "CMAKE Build type: ${CMAKE_BUILD_TYPE}") message(STATUS "CMAKE Build type: ${CMAKE_BUILD_TYPE}")
# Set a default build type if none was specified # Set a default build type if none was specified
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)