diff --git a/ports/intrusive-shared-ptr/portfile.cmake b/ports/intrusive-shared-ptr/portfile.cmake index a269f0f054..329922e624 100644 --- a/ports/intrusive-shared-ptr/portfile.cmake +++ b/ports/intrusive-shared-ptr/portfile.cmake @@ -4,16 +4,16 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO gershnik/intrusive_shared_ptr REF "v${VERSION}" - SHA512 ba4a3e88368219893ff03e803ba8f03c4bf61e7bd5ff1e5b50fdfa67cc8756719f5ba4ac77a9dd7fe7a5db03c33a51bfb74b7c6bb8100376a0e7c8c22a8690f1 + SHA512 0a80f6c21c54e8b263a7929334ef1df97d5dfb4f70d08a8b080ff82a99b0965f7414ac5381d12575d18db0f94cb06e946644da2a50aa3aaf26a2de34d33fa322 HEAD_REF master ) vcpkg_cmake_configure( SOURCE_PATH "${SOURCE_PATH}" + OPTIONS "-DBUILD_TESTING=OFF" ) vcpkg_cmake_install() -vcpkg_cmake_config_fixup(CONFIG_PATH lib/isptr PACKAGE_NAME isptr) +vcpkg_cmake_config_fixup(PACKAGE_NAME isptr) vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt") file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") -file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib") diff --git a/ports/intrusive-shared-ptr/usage b/ports/intrusive-shared-ptr/usage index 45b5e96f4d..b672df25b6 100644 --- a/ports/intrusive-shared-ptr/usage +++ b/ports/intrusive-shared-ptr/usage @@ -2,3 +2,9 @@ intrusive-shared-ptr provides CMake targets: find_package(isptr CONFIG REQUIRED) target_link_libraries(main PRIVATE isptr::isptr) + +To use a C++ module instead of headers, intrusive-shared-ptr +provides a function that adds the module to your target: + + find_package(isptr CONFIG REQUIRED) + isptr_add_module(main PRIVATE) diff --git a/ports/intrusive-shared-ptr/vcpkg.json b/ports/intrusive-shared-ptr/vcpkg.json index 9fd9b1d69e..4c714cd732 100644 --- a/ports/intrusive-shared-ptr/vcpkg.json +++ b/ports/intrusive-shared-ptr/vcpkg.json @@ -1,6 +1,6 @@ { "name": "intrusive-shared-ptr", - "version": "1.12", + "version": "1.13", "description": "Intrusive reference counting smart pointer, highly configurable reference counted base class and various adapters. Also known as libisptr.", "homepage": "https://github.com/gershnik/intrusive_shared_ptr", "license": "MIT", diff --git a/versions/baseline.json b/versions/baseline.json index d9afd4416d..71a59ba2f0 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -4065,7 +4065,7 @@ "port-version": 7 }, "intrusive-shared-ptr": { - "baseline": "1.12", + "baseline": "1.13", "port-version": 0 }, "intx": { diff --git a/versions/i-/intrusive-shared-ptr.json b/versions/i-/intrusive-shared-ptr.json index 1d7933ff7d..7cb4fa1942 100644 --- a/versions/i-/intrusive-shared-ptr.json +++ b/versions/i-/intrusive-shared-ptr.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "54f03f032c038119e3f8b533c58fb5dbe57812cb", + "version": "1.13", + "port-version": 0 + }, { "git-tree": "0d7bbacfff53a6c842d76baae3790d77b61dc849", "version": "1.12",