Switch to new policy for 3.17 cmake
This commit is contained in:
@@ -101,7 +101,7 @@ macro (acg_qt5)
|
||||
# Enable automoc
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
||||
if(${CMAKE_VERSION} VERSION_GREATER "3.17")
|
||||
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.17")
|
||||
|
||||
cmake_policy(SET CMP0100 NEW)
|
||||
message("Version greater 3.17, enable policy")
|
||||
|
||||
Reference in New Issue
Block a user