Set policy 0100 in toplevel CMAKE

This commit is contained in:
Jan Möbius
2020-04-30 09:13:30 +02:00
parent db8c060883
commit 7cd3930b02
2 changed files with 6 additions and 5 deletions

View File

@@ -101,10 +101,5 @@ macro (acg_qt5)
# Enable automoc
set(CMAKE_AUTOMOC ON)
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.17")
cmake_policy(SET CMP0100 NEW)
endif()
endif (QT5_FOUND)
endmacro ()