Commit 6fe24f08 authored by Sebastien Decugis's avatar Sebastien Decugis

Fix compilation issue on older CMake

parent 2fd34b75
......@@ -2,7 +2,10 @@
Project("freeDiameter core library" C)
# Configuration for newer cmake
cmake_policy(SET CMP0022 OLD)
cmake_policy(VERSION 2.6)
if (POLICY CMP0022)
cmake_policy(SET CMP0022 OLD)
endif (POLICY CMP0022)
# Configuration parser
BISON_FILE(fdd.y)
......
......@@ -2,7 +2,10 @@
Project("libfdproto" C)
# Configuration for newer cmake
cmake_policy(SET CMP0022 OLD)
cmake_policy(VERSION 2.6)
if (POLICY CMP0022)
cmake_policy(SET CMP0022 OLD)
endif (POLICY CMP0022)
# List of source files for the library
SET(LFDPROTO_SRC
......
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