update CMAKE_POLICY CMP0026 NEW

This commit is contained in:
gendalph 2017-10-30 21:56:22 +03:00
parent 886e6b0ed2
commit 1a4f5770dd
1 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,8 @@ project(LIBANTLR4)
if(CMAKE_VERSION VERSION_EQUAL "3.0.0" OR
CMAKE_VERSION VERSION_GREATER "3.0.0")
CMAKE_POLICY(SET CMP0026 OLD)
CMAKE_POLICY(SET CMP0026 NEW)
CMAKE_POLICY(SET CMP0054 OLD)
CMAKE_POLICY(SET CMP0045 OLD)
CMAKE_POLICY(SET CMP0042 OLD)
endif()