mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 05:38:59 +08:00
d132d128b4
* [aubio] * [bitserializer] * [crfsuite] Update to 2020-08-27 * format * [freealut] * [libe57] * version * [libe57] Remove docs * version * [libffi] * [libmodplug] * [libsodium] * [libsrtp] * [libfio] * [ned14-internal-quickcpplib] * version string * version * version * [matio] Update to 1.5.23 * [matplusplus] Update to 1.1.0 * [pystring] * [rdbl] * [recast] * [restinfo] * [sockpp] * [sziü] * [taglib] * [thor] * [workflow] * version * [Forkflow] Fix typo * version * [pystring] license * version * license * version * [sockpp] * version * [refl-cpp] * [pixel] Fix synthax warning * version * [matplotplusplus] * version * license * version * [szip, workflow] Remove docs * version * license * version * [szip] Fix license install * version * [matplotplusplus] Revert update * version
42 lines
1.3 KiB
CMake
42 lines
1.3 KiB
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO vancegroup/freealut
|
|
REF fc814e316c2bfa6e05b723b8cc9cb276da141aae
|
|
SHA512 046990cc13822ca6eea0b8e412aa95a994b881429e0b15cefee379f08bd9636d4a4598292a8d46b30c3cd06814bfaeae3298e8ef4087a46eede344f3880e9fed
|
|
HEAD_REF master
|
|
PATCHES
|
|
cmake_builds.patch
|
|
unix_headers.patch
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
DISABLE_PARALLEL_CONFIGURE
|
|
OPTIONS
|
|
-DBUILD_EXAMPLES=OFF
|
|
-DBUILD_TESTS=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
|
|
vcpkg_fixup_pkgconfig()
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share"
|
|
"${CURRENT_PACKAGES_DIR}/debug/include"
|
|
)
|
|
|
|
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
|
endif()
|
|
|
|
if(EXISTS "${CURRENT_PACKAGES_DIR}/bin/freealut-config")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin/freealut-config")
|
|
endif()
|
|
|
|
if(EXISTS "${CURRENT_PACKAGES_DIR}/debug/bin/freealut-config")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/bin/freealut-config")
|
|
endif()
|
|
|
|
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|