mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 03:49:00 +08:00
87cb1e2a41
* Update libxlsxwriter to 1.1.4 * Update CI baseline Co-authored-by: chausner <chausner@users.noreply.github.com>
29 lines
720 B
CMake
29 lines
720 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO jmcnamara/libxlsxwriter
|
|
REF RELEASE_1.1.4
|
|
SHA512 fad36f7882fcb21b87e13cf603022cfad3f14e6f955a06e2771712facd0fe12f83f4d1655dc1a744724bda1ac83af7e7bf1393457c5507d8983f63002ab294b5
|
|
HEAD_REF master
|
|
)
|
|
|
|
if (VCPKG_TARGET_IS_UWP)
|
|
set(USE_WINDOWSSTORE ON)
|
|
else()
|
|
set(USE_WINDOWSSTORE OFF)
|
|
endif()
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DWINDOWSSTORE=${USE_WINDOWSSTORE}
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_fixup_pkgconfig()
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/License.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
|
|