diff options
Diffstat (limited to 'ports/rest-rpc')
| -rw-r--r-- | ports/rest-rpc/CONTROL | 1 | ||||
| -rw-r--r-- | ports/rest-rpc/portfile.cmake | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/rest-rpc/CONTROL b/ports/rest-rpc/CONTROL index 92f622e93..ed7023bb4 100644 --- a/ports/rest-rpc/CONTROL +++ b/ports/rest-rpc/CONTROL @@ -1,5 +1,6 @@ Source: rest-rpc Version: 0.07 +Port-Version: 1 Homepage: https://github.com/qicosmos/rest_rpc Description: c++11, high performance, cross platform, easy to use rpc framework Build-Depends: asio diff --git a/ports/rest-rpc/portfile.cmake b/ports/rest-rpc/portfile.cmake index 54872c175..551ff1428 100644 --- a/ports/rest-rpc/portfile.cmake +++ b/ports/rest-rpc/portfile.cmake @@ -1,5 +1,8 @@ -# header-only library +if (EXISTS ${CURRENT_INSTALLED_DIR}/include/msgpack/pack.h) + message(FATAL_ERROR "Cannot install ${PORT} when msgpack is already installed, please remove msgpack using \"./vcpkg remove msgpack:${TARGET_TRIPLET}\"") +endif() +# header-only library set(RESTRPC_VERSION V0.07) set(RESTRPC_HASH 148152776c8c4f16e404c62ab3f46618e1817c0b4b186dbcc399c859efd110ed5a207bf56e961c312f80844f696f597068e0abc00e426409d50a2889d30c6d8e) set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/rest-rpc-${RESTRPC_VERSION}) |
