Commit e122e04b authored by Ronan's avatar Ronan

feat(CMakeLists.txt): set CMP0071 policy to NEW to avoid cmake warning

parent 90d505cd
......@@ -45,6 +45,11 @@ include(CheckCXXCompilerFlag)
set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Avoid cmake warning if CMP0071 is not set.
if (POLICY CMP0071)
cmake_policy(SET CMP0071 NEW)
endif ()
if (NOT WIN32)
check_cxx_compiler_flag("-Wsuggest-override" SUGGEST_OVERRIDE)
set(CUSTOM_FLAGS "\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment