Selaa lähdekoodia

Fixed CMake policy warning

Christophe Riccio 9 vuotta sitten
vanhempi
sitoutus
6ee8b03063
2 muutettua tiedostoa jossa 8 lisäystä ja 0 poistoa
  1. 4 0
      CMakeLists.txt
  2. 4 0
      readme.md

+ 4 - 0
CMakeLists.txt

@@ -1,4 +1,8 @@
 cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
 cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
+cmake_policy(VERSION 2.6)
+if (NOT CMAKE_VERSION VERSION_LESS "3.1")
+	cmake_policy(SET CMP0054 NEW)
+endif()
 
 
 project(glm)
 project(glm)
 set(GLM_VERSION "0.9.7")
 set(GLM_VERSION "0.9.7")

+ 4 - 0
readme.md

@@ -51,6 +51,10 @@ glm::mat4 camera(float Translate, glm::vec2 const & Rotate)
 
 
 ## Release notes
 ## Release notes
 
 
+#### [GLM 0.9.7.3](https://github.com/g-truc/glm/tree/0.9.7) - 2016-XX-XX
+##### Fixes:
+- Fixed CMake policy warning
+
 #### [GLM 0.9.7.2](https://github.com/g-truc/glm/releases/tag/0.9.7.2) - 2016-01-03
 #### [GLM 0.9.7.2](https://github.com/g-truc/glm/releases/tag/0.9.7.2) - 2016-01-03
 ##### Fixes:
 ##### Fixes:
 - Fixed GTC_round floorMultiple/ceilMultiple #412
 - Fixed GTC_round floorMultiple/ceilMultiple #412