Commit 016751ce authored by Guillaume Pasero's avatar Guillaume Pasero

COMP: check policy before setting it

parent d613197e
......@@ -14,7 +14,9 @@ foreach(p
# CMP0046 : from CMake 3.0, old behaviour is more convenient
cmake_policy(SET CMP0046 OLD)
if(POLICY CMP0046)
cmake_policy(SET CMP0046 OLD)
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