vcpkg/ports/nano-signal-slot/portfile.cmake
Rémy Tassoux c916800646 [nano-signal-slot] Update to latest version (#9376)
* [nano-signal-slot] Update to latest version

I know that official releases should be preferred, but I used the latest commit instead because it fix an issue which was causing compilations error on the latest MSVC version (https://github.com/NoAvailableAlias/nano-signal-slot/issues/26).

* [nano-signal-slot] Fix wrong date format

* [nano-signal-slot] Version update

The developer of this library has just added a new release version including the MSVC compilation bug fix.
2019-12-20 17:12:26 -08:00

12 lines
521 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO NoAvailableAlias/nano-signal-slot
REF 7e237d75e72501109d1276d7c0c97b33e9d7caf1
SHA512 a998e59bfded36d9fe2c88d8f3c5229db4fa3c02062f218267f070f4809f63d0bad07300d3cf1f60141ab84bb1802402ac11de06159df6af460f0be4c47f8b9a
HEAD_REF master
)
file(GLOB INCLUDES ${SOURCE_PATH}/*.hpp)
file(INSTALL ${INCLUDES} DESTINATION ${CURRENT_PACKAGES_DIR}/include)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)