Merge pull request #3583 from tresf/stable-1.2

Fix CMP0050 compilation warnings
This commit is contained in:
Tres Finocchiaro
2017-05-28 14:32:06 -07:00
committed by GitHub

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)