early-access version 2853
This commit is contained in:
13
externals/vcpkg/ports/concurrencpp/fix-include-path.patch
vendored
Executable file
13
externals/vcpkg/ports/concurrencpp/fix-include-path.patch
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 351aa65..ab06584 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -94,7 +94,7 @@ include(CMakePackageConfigHelpers)
|
||||
include(GNUInstallDirs)
|
||||
|
||||
set(concurrencpp_directory "concurrencpp-${PROJECT_VERSION}")
|
||||
-set(concurrencpp_include_directory "${CMAKE_INSTALL_INCLUDEDIR}/${concurrencpp_directory}")
|
||||
+set(concurrencpp_include_directory "${CMAKE_INSTALL_INCLUDEDIR}")
|
||||
|
||||
install(TARGETS concurrencpp
|
||||
EXPORT concurrencppTargets
|
21
externals/vcpkg/ports/concurrencpp/portfile.cmake
vendored
Executable file
21
externals/vcpkg/ports/concurrencpp/portfile.cmake
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO David-Haim/concurrencpp
|
||||
REF v.0.1.4
|
||||
SHA512 494680b8a642d9c2ad1e31a6b52ecac672af7b8ba2213fc6b0d525968bd27122c9b3c7105286af22fd6ebfa3cee4bb3b2c8948062418ad8419a305f7c3df0d4b
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
fix-include-path.patch
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/concurrencpp-0.1.4)
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/concurrencpp RENAME copyright)
|
18
externals/vcpkg/ports/concurrencpp/vcpkg.json
vendored
Executable file
18
externals/vcpkg/ports/concurrencpp/vcpkg.json
vendored
Executable file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "concurrencpp",
|
||||
"version": "0.1.4",
|
||||
"description": "concurrencpp is a tasking library for C++ allowing developers to write highly concurrent applications easily and safely by using tasks, executors and coroutines.",
|
||||
"homepage": "https://github.com/David-Haim/concurrencpp/",
|
||||
"license": "MIT",
|
||||
"supports": "(windows & static) | linux | osx",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user