-
Notifications
You must be signed in to change notification settings - Fork 16
/
dependencies.cmake
64 lines (53 loc) · 1012 Bytes
/
dependencies.cmake
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#
# Clever programming language
# Copyright (c) 2011-2013 Clever Team
#
# dependencies.cmake - 3rd-party library dependency
#
# 3rd-party libraries
# ---------------------------------------------------------------------------
# TODO(heuripedes): minimize the scope of the add_definitions()
# pthread
clever_add_lib(PTHREAD
LIBS pthread
INCS pthread.h)
# libpcrecpp
clever_add_lib(PCRECPP
INCS pcrecpp.h
LIBS pcre pcrecpp
PKGS libpcrecpp)
if(PCRECPP_FOUND)
add_definitions(-DHAVE_PCRECPP)
endif()
# libicu
clever_add_lib(ICU
LIBS icuuc
INCS unicode/ustring.h
PKGS icu-uc)
# libfcgi
clever_add_lib(FCGI
LIBS fcgi fcgi++
INCS fcgi_config.h)
# cgicc
clever_add_lib(CGICC
LIBS cgicc
INCS cgicc/Cgicc.h)
# libffi
clever_add_lib(FFI
LIBS ffi
INCS ffi.h
PKGS libffi)
# libmysqlclient
clever_add_lib(MYSQLC
LIBS mysqlclient
INCS mysql/mysql.h)
# libsqlite3
clever_add_lib(SQLITE3
LIBS sqlite3
INCS sqlite3.h
PKGS sqlite3)
# libncurses
clever_add_lib(NCURSES
LIBS ncurses
INCS curses.h
)