Mercurial > hg > freeDiameter
comparison libfdcore/CMakeLists.txt @ 1562:6219359a36a9 default tip
Merge latest changes from proposed branch
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Mon, 21 Jun 2021 19:08:18 +0800 |
parents | 9084c6f94a0a |
children |
comparison
equal
deleted
inserted
replaced
1558:932fca1cbbe4 | 1562:6219359a36a9 |
---|---|
1 # The subproject name | 1 # The subproject name |
2 Project("freeDiameter core library" C) | 2 Project("freeDiameter core library" 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 # Configuration parser | 7 # Configuration parser |
11 BISON_FILE(fdd.y) | 8 BISON_FILE(fdd.y) |
12 FLEX_FILE(fdd.l) | 9 FLEX_FILE(fdd.l) |
13 SET_SOURCE_FILES_PROPERTIES(lex.fdd.c fdd.tab.c PROPERTIES COMPILE_FLAGS "-I ${CMAKE_CURRENT_SOURCE_DIR}") | 10 SET_SOURCE_FILES_PROPERTIES(lex.fdd.c fdd.tab.c PROPERTIES COMPILE_FLAGS "-I ${CMAKE_CURRENT_SOURCE_DIR}") |