Fix CMP0050 compilation warnings

This commit is contained in:
Tres Finocchiaro
2017-05-28 15:55:58 -04:00
committed by GitHub
parent ff4ffd17f4
commit 745042dffa

View File

@@ -9,6 +9,7 @@ IF(COMMAND CMAKE_POLICY)
CMAKE_POLICY(SET CMP0003 NEW)
IF (CMAKE_MAJOR_VERSION GREATER 2)
CMAKE_POLICY(SET CMP0026 OLD)
CMAKE_POLICY(SET CMP0050 OLD)
ENDIF()
ENDIF(COMMAND CMAKE_POLICY)