2018-01-04 05:02:59 +01:00
|
|
|
include(vcpkg_common_functions)
|
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO CaptainCrowbar/unicorn-lib
|
2019-04-30 09:20:18 -07:00
|
|
|
REF c87e6b4394e543cf7fb45b0f8cdb289982bc180a
|
|
|
|
SHA512 3df368439b8c09c69fde78999d6b1b98675bc8488a78d7fea3f68e7ad61f6afb3cfca47cdc3b96ffd4b2e6f2cda11ca03a745c2129a5f9a5d58d9c46b0292c4a
|
2018-01-04 05:02:59 +01:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
file(COPY ${CURRENT_PORT_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
2018-06-16 01:54:01 -07:00
|
|
|
PREFER_NINJA
|
2018-02-25 11:37:23 -08:00
|
|
|
OPTIONS_DEBUG
|
|
|
|
-DUNICORN_LIB_SKIP_HEADERS=ON
|
2018-01-04 05:02:59 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
|
|
|
# Handle copyright
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE.TXT DESTINATION ${CURRENT_PACKAGES_DIR}/share/unicorn-lib RENAME copyright)
|