mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 06:47:50 +08:00
2b8d5bad0a
* [qt5-imageformats] Disable parallel build * [ompl] Disable parallel configure * [qt5-connectivity] Disable parallel build * [qwt] Update hash * [qt5-location] Disable parallel build * Update ports/qwt/portfile.cmake * Update ports/qwt/portfile.cmake Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * [qt5] change build method to vcpkg_execute_build_process * Add condition when there are some file conflicts Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
35 lines
995 B
CMake
35 lines
995 B
CMake
vcpkg_from_sourceforge(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO qwt/qwt
|
|
REF 6.1.4
|
|
FILENAME "qwt-6.1.4.zip"
|
|
SHA512 711256ec4d1d54d201650e9c63b584b17a61dbedde5a581e0b6227fdbee149cdbe2a889aa58f67777125b6471fc1fe248992ec845eb6481a2dfc2c4276701d7f
|
|
PATCHES fix-dynamic-static.patch
|
|
build.patch
|
|
)
|
|
|
|
vcpkg_configure_qmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
OPTIONS
|
|
CONFIG+=${VCPKG_LIBRARY_LINKAGE}
|
|
)
|
|
|
|
if (VCPKG_TARGET_IS_WINDOWS)
|
|
vcpkg_install_qmake(
|
|
RELEASE_TARGETS sub-src-release_ordered
|
|
DEBUG_TARGETS sub-src-debug_ordered
|
|
)
|
|
else ()
|
|
vcpkg_install_qmake(
|
|
RELEASE_TARGETS sub-src-all-ordered
|
|
DEBUG_TARGETS sub-src-all-ordered
|
|
)
|
|
endif()
|
|
|
|
#Install the header files
|
|
file(GLOB HEADER_FILES ${SOURCE_PATH}/src/*.h)
|
|
file(INSTALL ${HEADER_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include/${PORT})
|
|
|
|
# Handle copyright
|
|
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|