diff options
| author | Silvio Traversaro <silvio@traversaro.it> | 2020-11-30 19:06:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-30 10:06:27 -0800 |
| commit | 24c67cb37910371b1572ec7afc919d49e329b6a6 (patch) | |
| tree | 0ee36af5b7f58baf6a7f8a60f8838337f832c130 | |
| parent | b7f03b46354b2258c184ac744c9214f22859e873 (diff) | |
| download | vcpkg-24c67cb37910371b1572ec7afc919d49e329b6a6.tar.gz vcpkg-24c67cb37910371b1572ec7afc919d49e329b6a6.zip | |
[tiny-process-library] Bump tiny-process-library to 2.0.4 (#14732)
* Bump tiny-process-library to 2.0.3
* fixup
* fixup
| -rw-r--r-- | ports/tiny-process-library/CONTROL | 4 | ||||
| -rw-r--r-- | ports/tiny-process-library/fix-cmake.patch | 40 | ||||
| -rw-r--r-- | ports/tiny-process-library/portfile.cmake | 11 |
3 files changed, 7 insertions, 48 deletions
diff --git a/ports/tiny-process-library/CONTROL b/ports/tiny-process-library/CONTROL index 938277aa9..2a6ad9955 100644 --- a/ports/tiny-process-library/CONTROL +++ b/ports/tiny-process-library/CONTROL @@ -1,3 +1,3 @@ Source: tiny-process-library
-Version: 2018-12-06
-Description: A small platform independent library
+Version: 2.0.4
+Description: A small platform independent library to create and stop new processes in C++
diff --git a/ports/tiny-process-library/fix-cmake.patch b/ports/tiny-process-library/fix-cmake.patch deleted file mode 100644 index c8a264622..000000000 --- a/ports/tiny-process-library/fix-cmake.patch +++ /dev/null @@ -1,40 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index ace2879..15c7f44 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 2.8) - project(tiny-process-library) - - if(MSVC) -+ set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) - add_definitions(/D_CRT_SECURE_NO_WARNINGS) - else() - add_compile_options(-std=c++11 -Wall -Wextra) -@@ -23,7 +24,7 @@ endif() - find_package(Threads REQUIRED) - - target_link_libraries(tiny-process-library ${CMAKE_THREAD_LIBS_INIT}) --target_include_directories(tiny-process-library PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) -+target_include_directories(tiny-process-library PUBLIC $<INSTALL_INTERFACE:include>) - - option(BUILD_TESTING OFF) - -@@ -34,7 +35,17 @@ if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}") - - set(BUILD_TESTING ON) - -- install(TARGETS tiny-process-library DESTINATION lib) -+ install(TARGETS tiny-process-library -+ EXPORT ${PROJECT_NAME}-config -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} -+ ) -+ install(EXPORT ${PROJECT_NAME}-config -+ FILE unofficial-${PROJECT_NAME}-config.cmake -+ NAMESPACE unofficial::${PROJECT_NAME}:: -+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/unofficial-${PROJECT_NAME} -+ ) - install(FILES process.hpp DESTINATION include) - endif() - diff --git a/ports/tiny-process-library/portfile.cmake b/ports/tiny-process-library/portfile.cmake index 8be4a550a..20af73f6a 100644 --- a/ports/tiny-process-library/portfile.cmake +++ b/ports/tiny-process-library/portfile.cmake @@ -2,11 +2,9 @@ vcpkg_from_gitlab( GITLAB_URL https://gitlab.com
OUT_SOURCE_PATH SOURCE_PATH
REPO eidheim/tiny-process-library
- REF 273270d0f9d0cf4a8282fadd589060a7b0eab425
- SHA512 f99e586ee6fa9b7c0a3633b59e0e099becba48e2ef375268eeecd9099a233e3b528ba373edc74983d49934ff10f99884fdeb594ff546054fc91d1341d0e86c0a
+ REF v2.0.4
+ SHA512 bbdd268361159b7c64cb60f29afa780ee5e57fa696f0683a55cb9824ec5985c8229a9a8217d2b9ecdd194b9a3acbbd75a1a821392361fbc85b1f6841f40c95db
HEAD_REF master
- PATCHES
- fix-cmake.patch
)
vcpkg_configure_cmake(
@@ -14,6 +12,7 @@ vcpkg_configure_cmake( PREFER_NINJA
OPTIONS
-DBUILD_TESTING=OFF
+ -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON
)
vcpkg_install_cmake()
@@ -21,8 +20,8 @@ vcpkg_install_cmake() vcpkg_copy_pdbs()
vcpkg_fixup_cmake_targets(
- CONFIG_PATH lib/cmake/unofficial-${PORT}
- TARGET_PATH share/unofficial-${PORT}
+ CONFIG_PATH lib/cmake/${PORT}
+ TARGET_PATH share/${PORT}
)
file(REMOVE_RECURSE
|
