forked from janelia-flyem/buildem
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlibldns.cmake
36 lines (31 loc) · 939 Bytes
/
libldns.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
include (ExternalProject)
include (ExternalSource)
include (BuildSupport)
if (NOT libldns_NAME)
external_git_repo (libldns
master
https://github.com/NLnetLabs/ldns)
ExternalProject_Add(${libldns_NAME}
PREFIX ${BUILDEM_DIR}
GIT_REPOSITORY ${libldns_URL}
GIT_TAG ${libldns_TAG}
UPDATE_COMMAND ""
BUILD_IN_SOURCE 1
TEST_COMMAND ""
PATCH_COMMAND libtoolize -c --install && autoreconf --install
CONFIGURE_COMMAND ${BUILDEM_ENV_STR} ${libldns_SRC_DIR}/configure
--enable-static
--disable-shared
--prefix=${BUILDEM_DIR}
--disable-dependency-tracking
--disable-ldns-config
--disable-sha2
--disable-gost
--disable-ecdsa
--disable-dane
--enable-draft-rrtypes
--without-pyldnsx
INSTALL_COMMAND ${BUILDEM_ENV_STRING} make install
BUILD_COMMAND ${BUILDEM_ENV_STRING} make
)
endif()