2019-05-14 01:12:59 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO ladislav-zezula/StormLib
|
2019-08-08 20:29:31 +08:00
|
|
|
REF 2f0e0e69e6b3739d7c450ac3d38816aee45ac3c2
|
|
|
|
SHA512 54cbe4270963944edf3d75b845047add2b004e0d95b20b75a4c4790c2a12a41bf19cc4f55aaeaec697a0a913827e11cfabde2123b2b13730556310dd89eef1e9
|
2019-05-14 01:12:59 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2019-08-08 20:29:31 +08:00
|
|
|
file(COPY
|
2023-03-02 02:39:29 +08:00
|
|
|
"${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt"
|
|
|
|
DESTINATION "${SOURCE_PATH}"
|
2019-05-14 01:12:59 +08:00
|
|
|
)
|
|
|
|
|
2023-03-02 02:39:29 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2019-05-14 01:12:59 +08:00
|
|
|
)
|
|
|
|
|
2023-03-02 02:39:29 +08:00
|
|
|
vcpkg_cmake_install()
|
2019-08-08 20:29:31 +08:00
|
|
|
|
2023-03-02 02:39:29 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
vcpkg_cmake_config_fixup()
|