mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 20:19:06 +08:00
d84e61c2c3
* add stuff * coinutils stuff * coin-or-* fixes! * fix patch * Fix openmvg * fix openmvg by modifying includes * fix ipopt. * add !uwp supports in coinutils * try fixing openmvg on osx * format manifest and license stuff * fix linkage * v db
40 lines
1.2 KiB
CMake
40 lines
1.2 KiB
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO coin-or/Ipopt
|
|
REF ec43e37a06054246764fb116e50e3e30c9ada089
|
|
SHA512 f5b30e81b4a1a178e9a0e2b51b4832f07441b2c3e9a2aa61a6f07807f94185998e985fcf3c34d96fbfde78f07b69f2e0a0675e1e478a4e668da6da60521e0fd6
|
|
HEAD_REF master
|
|
)
|
|
# --with-precision floating-point precision to use: single or double
|
|
# (default)
|
|
# --with-intsize integer type to use: specify 32 for int or 64 for
|
|
# int64_t
|
|
file(COPY "${CURRENT_INSTALLED_DIR}/share/coin-or-buildtools/" DESTINATION "${SOURCE_PATH}")
|
|
|
|
set(ENV{ACLOCAL} "aclocal -I \"${SOURCE_PATH}/BuildTools\"")
|
|
|
|
vcpkg_configure_make(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
AUTOCONFIG
|
|
OPTIONS
|
|
#--with-pardiso
|
|
--without-spral
|
|
#--without-wsmp
|
|
--without-hsl
|
|
--without-asl
|
|
--with-lapack
|
|
--without-mumps
|
|
--enable-relocatable
|
|
--disable-f77
|
|
--disable-java
|
|
)
|
|
|
|
vcpkg_install_make()
|
|
vcpkg_copy_pdbs()
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|