Auto update

This commit is contained in:
Jenkins for Fcitx 5 Android 2023-02-05 15:10:14 +00:00
parent c7f09ef202
commit 82d6e843bd
8 changed files with 44 additions and 24 deletions

View file

@ -118,7 +118,7 @@ if(CONFIG_FOR_INSTALL_TREE)
NAMES event2/event.h
PATHS "${_INSTALL_PREFIX}/include"
NO_DEFAULT_PATH)
if(true)
if(_event_h)
set(LIBEVENT_INCLUDE_DIRS "${_event_h}")
message_if_needed(STATUS "Found libevent include directory: ${_event_h}")
else()
@ -132,7 +132,7 @@ if(CONFIG_FOR_INSTALL_TREE)
NAMES "event_${_comp}"
PATHS "${_INSTALL_PREFIX}/lib"
NO_DEFAULT_PATH)
if(true)
if(_event_lib)
list(APPEND LIBEVENT_LIBRARIES "libevent::${_comp}")
set_case_insensitive_found(${_comp})
message_if_needed(STATUS "Found libevent component: ${_event_lib}")
@ -146,7 +146,7 @@ if(CONFIG_FOR_INSTALL_TREE)
endforeach()
else()
## Config for build tree ----------------------------------------
set(LIBEVENT_INCLUDE_DIRS "/home/agent/jenkins/workspace/android/prebuilder/libevent/include;/home/agent/jenkins/workspace/android/prebuilder/libevent/build-arm64-v8a/include")
set(LIBEVENT_INCLUDE_DIRS "include")
foreach(_comp ${_EVENT_COMPONENTS})
list(APPEND LIBEVENT_LIBRARIES "libevent::${_comp}")
set_case_insensitive_found(${_comp})

View file

@ -41,9 +41,14 @@ unset(_targetsNotDefined)
unset(_expectedTargets)
# The installation prefix configured by this project.
get_filename_component(LIBEVENT_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
get_filename_component(_IMPORT_PREFIX "${LIBEVENT_CMAKE_DIR}/../../.." ABSOLUTE)
# Compute the installation prefix relative to this file.
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
if(_IMPORT_PREFIX STREQUAL "/")
set(_IMPORT_PREFIX "")
endif()
# Create imported target libevent::core
add_library(libevent::core STATIC IMPORTED)