mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 07:29:17 +08:00
26 lines
753 B
CMake
26 lines
753 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO coin-or/CppAD
|
|
REF 5e1c0090e23d897f268c6802eaffed87078b78c0 #20230000.0
|
|
SHA512 9583323277023a7c7ae6c1b077262b1f228989c9dd432a7162dd8c7cd9b97881abcd3d368fdd916fb7250f3fadbbf41557462cfc0fcb6076c6b8fdc76a38d3ed
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
DISABLE_PARALLEL_CONFIGURE
|
|
OPTIONS
|
|
-Dcppad_prefix=${CURRENT_PACKAGES_DIR}
|
|
OPTIONS_RELEASE
|
|
-Dcmake_install_libdirs=lib
|
|
OPTIONS_DEBUG
|
|
-Dcmake_install_libdirs=debug/lib
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_fixup_pkgconfig()
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/pkgconfig")
|
|
|
|
# Add the copyright
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|