mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 19:38:09 +00:00
feat(CMakeLists.txt): set CMP0071 policy to NEW to avoid cmake warning
This commit is contained in:
parent
90d505cd62
commit
e122e04b59
1 changed files with 5 additions and 0 deletions
|
|
@ -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 "\
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue