Skip to content
This repository was archived by the owner on Aug 22, 2024. It is now read-only.

Suppress Some CMake Warnings #1369

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions extern/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ endif()
# NEW is the default for this policy except when cmake_minimum_required is
# lower than CMake 3.3
set(CMAKE_POLICY_DEFAULT_CMP0063 NEW)
# Set default policies for CMP0064 to NEW
# It will suppress the CMake Warnings that occurs at dependences.
# Related: libjpeg-turbo
set(CMAKE_POLICY_DEFAULT_CMP0064 NEW)
# Set default policies for CMP0048 to NEW
# It will suppress the CMake Warnings that occurs at dependences.
# Related: azure_c_shared (azure-macro-utils-c, umock-c), libjpeg-turbo
set(CMAKE_POLICY_DEFAULT_CMP0048 NEW)

add_subdirectory(azure_c_shared)
add_subdirectory(cjson)
Expand Down