Fix CMake warning (#4002)

This commit is contained in:
Léo Andrès
2017-11-23 00:01:05 +01:00
committed by Tres Finocchiaro
parent d634ed344f
commit 79e4775cd3

View File

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