2024-08-23 17:19:15 +08:00
if ( EXISTS ${ CURRENT_INSTALLED_DIR } /share/microsoft-signalr/copyright )
message ( FATAL_ERROR "'${PORT}' conflicts with 'microsoft-signalr'. Please remove microsoft-signalr:${TARGET_TRIPLET}, and try to install ${PORT}:${TARGET_TRIPLET} again." )
endif ( )
2018-03-20 12:09:13 +08:00
vcpkg_from_github (
O U T _ S O U R C E _ P A T H S O U R C E _ P A T H
R E P O S i g n a l R / S i g n a l R - C l i e n t - C p p
R E F 1 . 0 . 0 - b e t a 1
2017-09-26 06:10:21 +08:00
S H A 5 1 2 b 3 8 f 6 f 9 4 6 f 1 4 9 9 0 8 0 0 7 1 9 4 9 c b c f 5 7 4 4 0 5 1 1 8 f 9 a c f b 4 6 9 4 4 1 e 5 b 5 b 0 d f 3 e 5 f 0 d 2 7 7 a 8 3 b 3 0 e 0 d 6 1 3 d c 5 e 5 4 7 3 2 b 9 0 7 1 e 3 2 7 3 d a c 1 e e 6 5 1 2 9 f 9 9 4 d 5 a 6 0 e e f 0 e 4 5 b d f 6 c
2018-03-20 12:09:13 +08:00
H E A D _ R E F m a s t e r
2016-11-15 14:10:11 +08:00
P A T C H E S
2019-03-30 13:21:40 +08:00
0 0 0 1 _ c m a k e . p a t c h
0 0 0 2 _ f i x - c o m p i l e - e r r o r . p a t c h
2016-11-15 14:10:11 +08:00
)
2023-03-02 02:39:29 +08:00
vcpkg_cmake_configure (
S O U R C E _ P A T H " $ { S O U R C E _ P A T H } "
2017-10-28 23:50:58 +08:00
O P T I O N S _ D E B U G
2023-03-02 02:39:29 +08:00
" - D C P P R E S T _ S O = $ { C U R R E N T _ I N S T A L L E D _ D I R } / d e b u g / l i b / c p p r e s t _ 2 _ 1 0 d . l i b "
2017-10-28 23:50:58 +08:00
O P T I O N S _ R E L E A S E
2023-03-02 02:39:29 +08:00
" - D C P P R E S T _ S O = $ { C U R R E N T _ I N S T A L L E D _ D I R } / l i b / c p p r e s t _ 2 _ 1 0 . l i b "
2016-11-16 09:01:54 +08:00
O P T I O N S
2023-03-02 02:39:29 +08:00
" - D C P P R E S T _ I N C L U D E _ D I R = $ { C U R R E N T _ I N S T A L L E D _ D I R } / i n c l u d e "
2016-11-16 09:01:54 +08:00
- D D I S A B L E _ T E S T S = O N
2016-11-15 14:10:11 +08:00
)
2023-03-02 02:39:29 +08:00
vcpkg_cmake_install ( )
2016-11-15 14:10:11 +08:00
2023-03-02 02:39:29 +08:00
file ( REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" )
2016-11-15 14:10:11 +08:00
# copy license
2024-08-23 17:19:15 +08:00
vcpkg_install_copyright ( FILE_LIST "${SOURCE_PATH}/LICENSE.txt" )