File: use-system-antlr3c

package info (click to toggle)
belle-sip 5.3.105%2Bdfsg-4.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 12,480 kB
  • sloc: ansic: 276,717; cpp: 3,172; cs: 418; makefile: 185; python: 86; xml: 47; sh: 41; objc: 38; ruby: 8
file content (25 lines) | stat: -rw-r--r-- 569 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -40,11 +40,9 @@
 	$<INSTALL_INTERFACE:include>
 	$<INSTALL_INTERFACE:include/belle-sip>
 )
-set(PRIVATE_INCLUDE_DIRS
-	${CMAKE_CURRENT_SOURCE_DIR}/antlr3c/include
-	${CMAKE_CURRENT_BINARY_DIR}/antlr3c
-)
 set(LIBS )
+# Debian - link against system libantlr3c
+list(APPEND LIBS antlr3c)
 
 if(Threads_FOUND)
 	if(CMAKE_USE_PTHREADS_INIT AND NOT CMAKE_SYSTEM_NAME MATCHES "QNX" AND NOT ANDROID)
@@ -96,8 +94,6 @@
 	)
 endif()
 
-add_subdirectory(antlr3c)
-
 set(BELLE_SIP_SOURCE_FILES_C
 	auth_event.c
 	auth_helper.c