[log4cplus ] Normilize log4cplus unicode build (#14100)

This commit is contained in:
Nicolai Grodzitski 2020-10-22 03:41:53 +03:00 коммит произвёл GitHub
Родитель 3dbec6c255
Коммит b1dea7104f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 16 добавлений и 4 удалений

Просмотреть файл

@ -1,5 +1,9 @@
Source: log4cplus
Version: 2.0.5
Port-Version: 1
Homepage: https://github.com/log4cplus/log4cplus
Description: A simple to use C++ logging API providing thread--safe, flexible, and arbitrarily granular control over log management and configuration
Build-Depends: catch
Feature: unicode
Description: Unicode logger

Просмотреть файл

@ -23,13 +23,21 @@ file(
DESTINATION ${SOURCE_PATH}/threadpool
)
vcpkg_check_features(
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
unicode UNICODE
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DLOG4CPLUS_BUILD_TESTING=OFF
-DLOG4CPLUS_BUILD_LOGGINGSERVER=OFF
OPTIONS
-DLOG4CPLUS_BUILD_TESTING=OFF
-DLOG4CPLUS_BUILD_LOGGINGSERVER=OFF
-DWITH_UNIT_TESTS=OFF
-DLOG4CPLUS_ENABLE_DECORATED_LIBRARY_NAME=OFF
${FEATURE_OPTIONS}
)
vcpkg_install_cmake()
@ -42,4 +50,4 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)