blob: 6f43c8dcb09d1baec10d98a6196469823aacb9a0 [file] [log] [blame]
Brian Waters13d96012017-12-08 16:53:31 -06001diff -Nur freeDiameter/CMakeLists.txt freeDiameter-OpenWRT/CMakeLists.txt
2--- freeDiameter/CMakeLists.txt 2010-08-13 16:19:35.000000000 +0900
3+++ freeDiameter-OpenWRT/CMakeLists.txt 2010-08-13 16:21:32.000000000 +0900
4@@ -51,6 +51,14 @@
5 SET(DEBUG 1)
6 ENDIF (CMAKE_BUILD_TYPE MATCHES "Debug|Profiling|DebugValgrind")
7
8+# OpenWRT
9+SET(IN_OPENWRT $ENV{IN_OPENWRT})
10+IF (IN_OPENWRT)
11+ ADD_DEFINITIONS("$ENV{TARGET_LDFLAGS}" "$ENV{TARGET_CPPFLAGS}" "$ENV{TARGET_CFLAGS}")
12+ INCLUDE_DIRECTORIES("$ENV{TARGET_LDFLAGS}" "$ENV{TARGET_CPPFLAGS}" "$ENV{TARGET_CFLAGS}")
13+ENDIF(IN_OPENWRT)
14+
15+
16 # some subfolders use yacc and lex parsers
17 SET(BISON_GENERATE_DEFINES TRUE)
18 SET(BISON_PREFIX_OUTPUTS TRUE)
19Binary files freeDiameter/.hg/dirstate and freeDiameter-OpenWRT/.hg/dirstate differ