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
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"