Mercurial > hg > freeDiameter
comparison libfdproto/CMakeLists.txt @ 1286:ecb844d6d87d
Fix compilation issue on older CMake
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Sun, 04 Jan 2015 01:22:58 +0800 |
parents | 38e4a7c318ac |
children | 9084c6f94a0a |
comparison
equal
deleted
inserted
replaced
1285:1e893500dc72 | 1286:ecb844d6d87d |
---|---|
1 # Name of the subproject | 1 # Name of the subproject |
2 Project("libfdproto" C) | 2 Project("libfdproto" C) |
3 | 3 |
4 # Configuration for newer cmake | 4 # Configuration for newer cmake |
5 cmake_policy(SET CMP0022 OLD) | 5 cmake_policy(VERSION 2.6) |
6 if (POLICY CMP0022) | |
7 cmake_policy(SET CMP0022 OLD) | |
8 endif (POLICY CMP0022) | |
6 | 9 |
7 # List of source files for the library | 10 # List of source files for the library |
8 SET(LFDPROTO_SRC | 11 SET(LFDPROTO_SRC |
9 fdproto-internal.h | 12 fdproto-internal.h |
10 dictionary.c | 13 dictionary.c |