2018-03-07 23:16:07 +01:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO skypjack/entt
|
2021-05-18 15:55:05 +08:00
|
|
|
REF 5d15a3d69f433a0e3fce266caaeb87c77c10453c #v3.7.1
|
|
|
|
SHA512 dbfb141dd706e1552a81e01005a28e916b369f29c0adfff337799f8375a9676e60f620b7981633829d6d175297088ace58e3c16cc802ab9d71681efebb1caba6
|
2018-11-08 10:49:02 +03:00
|
|
|
HEAD_REF master
|
2018-03-07 23:16:07 +01:00
|
|
|
)
|
|
|
|
|
2018-11-08 10:49:02 +03:00
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
2019-06-04 17:23:04 +08:00
|
|
|
DISABLE_PARALLEL_CONFIGURE
|
2018-11-08 10:49:02 +03:00
|
|
|
PREFER_NINJA
|
|
|
|
OPTIONS
|
2021-01-12 13:01:09 +08:00
|
|
|
-DENTT_BUILD_TESTING=OFF
|
2018-03-07 23:16:07 +01:00
|
|
|
)
|
|
|
|
|
2018-11-08 10:49:02 +03:00
|
|
|
vcpkg_install_cmake()
|
|
|
|
|
|
|
|
if(EXISTS ${CURRENT_PACKAGES_DIR}/cmake)
|
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH cmake)
|
|
|
|
else()
|
2020-05-23 06:57:41 +02:00
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/EnTT/cmake)
|
2018-11-08 10:49:02 +03:00
|
|
|
endif()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
|
|
|
|
|
|
|
|
# Handle copyright
|
2020-05-23 06:57:41 +02:00
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|