Skip to content
Snippets Groups Projects
Commit 88c5a768 authored by Brad King's avatar Brad King
Browse files

Set policy CMP0025 to NEW within KWSys

KWSys does not depend on the Apple Clang compiler id being "Clang" so
set the policy to NEW explicitly to avoid the warning and get the NEW
behavior.

Change-Id: I884a82876ced444753a28eec1a2a26cc8c07cdef
parent 9c653603
No related branches found
No related tags found
No related merge requests found
......@@ -85,6 +85,9 @@
# written.
CMAKE_MINIMUM_REQUIRED(VERSION 2.6.3 FATAL_ERROR)
IF(POLICY CMP0025)
CMAKE_POLICY(SET CMP0025 NEW)
ENDIF()
#-----------------------------------------------------------------------------
# If a namespace is not specified, use "kwsys" and enable testing.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment