From c7edc98d5c7e6410d6f531a2494a90222d5592e6 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Wed, 9 Aug 2017 18:47:50 -0700 Subject: [PATCH] remove deprecated CMake policy no longer needed --- CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9712b2d32e..4527e06418 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,10 +15,6 @@ if (WIN32) cmake_policy(SET CMP0020 NEW) endif (WIN32) -if (POLICY CMP0028) - cmake_policy(SET CMP0028 OLD) -endif () - if (POLICY CMP0043) cmake_policy(SET CMP0043 OLD) endif () @@ -83,7 +79,7 @@ endif(WIN32) if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "5.3") - # GLM 0.9.8 on Ubuntu 14 (gcc 4.4) has issues with the simd declarations + # GLM 0.9.8 on Ubuntu 14 (gcc 4.4) has issues with the simd declarations add_definitions(-DGLM_FORCE_PURE) endif() endif()