mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-13 06:11:47 +08:00
c9e786d81a
* Bulk remove vcpkg_fail_port_install calls. Interesting ones have been split out into separate reviews, where "interesting" means "anything more than just deleting the call to vcpkg_fail_port_install", In support of https://github.com/microsoft/vcpkg/pull/21502 * Update version database. * Revert google benchmark changes already submitted as https://github.com/microsoft/vcpkg/pull/22728 * Repair version database.
29 lines
885 B
CMake
29 lines
885 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO coin-or/CppAD
|
|
REF 90c510458b61049c51f937fc6ed2e611fbb17b8b #20210000.7
|
|
SHA512 112a4663a3e13f2d852c4ce4e57f6bee2dc7584915fcbab75972568258faab0d4a5761c4eaa4c664543cb8674e8e70c0623054c07dff933f9513a47f1c7d6261
|
|
HEAD_REF master
|
|
PATCHES
|
|
windows-fix.patch
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
DISABLE_PARALLEL_CONFIGURE
|
|
OPTIONS
|
|
-Dcppad_prefix=${CURRENT_PACKAGES_DIR}
|
|
OPTIONS_RELEASE
|
|
-Dcmake_install_libdirs=lib
|
|
-Dcppad_debug_which:STRING=debug_none
|
|
OPTIONS_DEBUG
|
|
-Dcmake_install_libdirs=debug/lib
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_fixup_pkgconfig()
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/pkgconfig")
|
|
|
|
# Add the copyright
|
|
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|