From 6cd4fcdec4e6671e63e8c7cba2ab4c6d594b13fd Mon Sep 17 00:00:00 2001 From: iphydf Date: Mon, 5 Feb 2018 21:38:58 +0000 Subject: Remove libcheck from the dependencies. We're not gaining much from this library, and it's a burden, especially for windows development. --- cmake/Dependencies.cmake | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'cmake/Dependencies.cmake') diff --git a/cmake/Dependencies.cmake b/cmake/Dependencies.cmake index 572b77b0..66e94da7 100644 --- a/cmake/Dependencies.cmake +++ b/cmake/Dependencies.cmake @@ -20,9 +20,6 @@ pkg_use_module(VPX vpx ) # For tox-bootstrapd. pkg_use_module(LIBCONFIG libconfig ) -# For auto tests. -pkg_use_module(CHECK check ) - # For tox-spectest. pkg_use_module(MSGPACK msgpack ) @@ -38,7 +35,6 @@ pkg_use_module(SNDFILE sndfile ) # These require specific installation paths of dependencies: # - libsodium in libsodium/Win32/Release/v140/static # - pthreads in pthreads-win32/Pre-built.2 -# - check in %PROGRAMFILES%/check # ############################################################################### @@ -60,27 +56,6 @@ if(MSVC) message(FATAL_ERROR "libsodium libraries not found") endif() - # check - # ----- - # - # We look for the check and compat (containing clock_gettime and other POSIX - # functions not present on Windows) libraries in Program Files, since that is - # the default location where cmake installs its packages. - find_library(LIBCHECK_LIBRARIES - NAMES check libcheck - PATHS "$ENV{PROGRAMFILES}/check/lib" - ) - find_library(LIBCOMPAT_LIBRARIES - NAMES compat libcompat - PATHS "$ENV{PROGRAMFILES}/check/lib" - ) - if(LIBCHECK_LIBRARIES AND LIBCOMPAT_LIBRARIES) - include_directories("$ENV{PROGRAMFILES}/check/include") - set(CHECK_FOUND TRUE) - set(CHECK_LIBRARIES ${LIBCHECK_LIBRARIES} ${LIBCOMPAT_LIBRARIES}) - message("check: ${CHECK_LIBRARIES}") - endif() - # pthreads # -------- if(CMAKE_USE_WIN32_THREADS_INIT) -- cgit v1.2.3