Skip to content

Commit 1b39f0b

Browse files
committed
test gnutls
1 parent 371722a commit 1b39f0b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

depends/common/gnutls/CMakeLists.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR})
66

77
list(APPEND gnutls_conf PKG_CONFIG_PATH=${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
88
list(APPEND gnutls_conf CPPFLAGS=-I${CMAKE_INSTALL_PREFIX}/include)
9-
if(CORE_SYSTEM_NAME STREQUAL osx)
10-
set(gnutls_ldflags "LDFLAGS=-L${CMAKE_INSTALL_PREFIX}/lib -mmacosx-version-min=10.12")
11-
list(APPEND gnutls_conf ${gnutls_ldflags})
12-
else()
13-
list(APPEND gnutls_conf LDFLAGS=-L${CMAKE_INSTALL_PREFIX}/lib)
14-
endif()
159
list(APPEND gnutls_conf LIBS=-lgmp)
1610

1711
include(ExternalProject)
@@ -21,16 +15,13 @@ externalproject_add(gnutls
2115
--prefix=${CMAKE_INSTALL_PREFIX}
2216
--disable-shared
2317
--without-p11-kit
24-
--without-idn
2518
--disable-nls
2619
--with-included-unistring
2720
--with-included-libtasn1
2821
--enable-local-libopts
29-
--without-nettle-mini
3022
--disable-doc
3123
--disable-tests
3224
--disable-guile
33-
--with-pic
3425
${gnutls_conf})
3526

3627
install(CODE "Message(Done)")

0 commit comments

Comments
 (0)