Mercurial > hg > freeDiameter
comparison libfdproto/CMakeLists.txt @ 1560:9084c6f94a0a
Require cmake 2.8.12 (from 2013) since current cmake warns about older versions.
Remove policy check for CMP0022. The variable INTERFACE_LINK_LIBRARIES it
affects is not used.
author | Thomas Klausner <wiz@gatalith.at> |
---|---|
date | Wed, 16 Jun 2021 18:05:27 +0200 |
parents | ecb844d6d87d |
children | 699c3fb0c57b |
comparison
equal
deleted
inserted
replaced
1559:2dbc816d48f4 | 1560:9084c6f94a0a |
---|---|
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(VERSION 2.6) | 5 cmake_policy(VERSION 2.8.12) |
6 if (POLICY CMP0022) | |
7 cmake_policy(SET CMP0022 OLD) | |
8 endif (POLICY CMP0022) | |
9 | 6 |
10 # List of source files for the library | 7 # List of source files for the library |
11 SET(LFDPROTO_SRC | 8 SET(LFDPROTO_SRC |
12 fdproto-internal.h | 9 fdproto-internal.h |
13 dictionary.c | 10 dictionary.c |