From: Azat Khuzhin Date: Sat, 16 Nov 2019 23:45:54 +0000 (+0300) Subject: Merge #929 -- cmake package improvements X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8be8ac460239d16b52fd55998a030f3bdb5dd69a;p=libevent Merge #929 -- cmake package improvements Example: find_package(Libevent 2.2.0 REQUIRED COMPONENTS core) add_executable(test test.c) target_link_libraries(test ${LIBEVENT_LIBRARIES}) * upstream/pr/929: CI: integrate testing for components export cmake: test for find_package() cmake: improve package config file --- 8be8ac460239d16b52fd55998a030f3bdb5dd69a diff --cc appveyor.yml index ec9e36b5,a2687237..24c0b0c9 --- a/appveyor.yml +++ b/appveyor.yml @@@ -23,9 -23,9 +23,10 @@@ environment global: APPVEYOR_SAVE_CACHE_ON_ERROR: true OPENSSL_ROOT: C:/OpenSSL-Win64 + PYTHON3: C:/Python37-x64/python.exe MPATH: C:/mingw-w64/x86_64-7.2.0-posix-seh-rt_v5-rev1/mingw64/bin;C:/msys64/usr/bin - EVENT_TESTS_PARALLEL: 20 + # Do not run tests in parallel to reduce false-positive + EVENT_TESTS_PARALLEL: 1 EVENT_BUILD_PARALLEL: 10 matrix: - EVENT_BUILD_METHOD: "cmake"