Commit 3908a680 authored by jcfr's avatar jcfr
Browse files

COMP: Enable CMake policy CMP0010

CMP0010 - Bad variable reference syntax is an error.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@15160 3bd1e089-480b-0410-8dfb-8563597acbee
parent dc0235f5
......@@ -18,7 +18,7 @@ SET(project_policies
#CMP0007 # NEW: List command no longer ignores empty elements.
#CMP0008 # NEW: Libraries linked by full-path must have a valid library file name.
#CMP0009 # NEW: FILE GLOB_RECURSE calls should not follow symlinks by default.
#CMP0010 # NEW: Bad variable reference syntax is an error.
CMP0010 # NEW: Bad variable reference syntax is an error.
#CMP0011 # NEW: Included scripts do automatic cmake_policy PUSH and POP.
CMP0012 # NEW: if() recognizes numbers and boolean constants.
CMP0013 # NEW: Duplicate binary directories are not allowed.
......
......@@ -24,7 +24,7 @@ SET(project_policies
#CMP0007 # NEW: List command no longer ignores empty elements.
#CMP0008 # NEW: Libraries linked by full-path must have a valid library file name.
#CMP0009 # NEW: FILE GLOB_RECURSE calls should not follow symlinks by default.
#CMP0010 # NEW: Bad variable reference syntax is an error.
CMP0010 # NEW: Bad variable reference syntax is an error.
#CMP0011 # NEW: Included scripts do automatic cmake_policy PUSH and POP.
CMP0012 # NEW: if() recognizes numbers and boolean constants.
CMP0013 # NEW: Duplicate binary directories are not allowed.
......
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