mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-04 13:29:02 +08:00
5b11232d00
* [libuvc,qt5-virtualkeyboard] remove duplicated dependency entry * [many-ports] don't use deprecated functions (autogenerated) * atkmm: Fix license. gperftools: Reformat vcpkg_check_features call. gsl: Fix license. libpff: Fix license. pangomm: Fix license. qtbase: Revert, only comment changes. type-lite: Reformat vcpkg_check_features and actually use the feature options. --------- Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
38 lines
1.1 KiB
CMake
38 lines
1.1 KiB
CMake
set(ITPP_VERSION 4.3.1)
|
|
|
|
vcpkg_from_sourceforge(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO itpp/itpp
|
|
REF ${ITPP_VERSION}
|
|
FILENAME "itpp-${ITPP_VERSION}.tar.bz2"
|
|
SHA512 b46d048fa7f33e80d2291a5e38e205c159791ea200f92c70d69e8ad8447ac2f0c847fece566a99af739853a1643cb16e226b4200c8bf115417f324e6d38c66bd
|
|
PATCHES
|
|
msvc2013.patch
|
|
fix-uwp.patch
|
|
fix-linux.patch
|
|
rename-version.patch
|
|
)
|
|
file(RENAME "${SOURCE_PATH}/VERSION" "${SOURCE_PATH}/VERSION.txt")
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
OPTIONS
|
|
-DCMAKE_DISABLE_FIND_PACKAGE_LAPACK=ON
|
|
-DCMAKE_DISABLE_FIND_PACKAGE_FFT=ON
|
|
-DCMAKE_DISABLE_FIND_PACKAGE_BLAS=ON
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
|
|
endif()
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
|
|
|
vcpkg_fixup_pkgconfig()
|