Skip to content

Conversation

@arvidn
Copy link
Owner

@arvidn arvidn commented Jan 11, 2026

No description provided.

@arvidn arvidn marked this pull request as ready for review January 11, 2026 15:58
@xavier2k6
Copy link
Contributor

Boost 1.85.0 is minimum available version on 2022 image, while 1.89.0 is currently maximum.

https://www.appveyor.com/docs/windows-images-software/#boost

@arvidn arvidn force-pushed the bump-openssl branch 2 times, most recently from d139826 to 2bb11bd Compare January 11, 2026 22:31
@xavier2k6
Copy link
Contributor

xavier2k6 commented Jan 12, 2026

@arvidn specifying the OpenSSL version via find_package was introduced in CMake 3.20, correct?! so would that mean that you'd also have to bump cmake_minimum_required in code?

@arvidn
Copy link
Owner Author

arvidn commented Jan 12, 2026

I see. and the appveyor image only has cmake 3.16.2. I may have to bump the image after all

@xavier2k6
Copy link
Contributor

@arvidn How come you don't use something like set(minOpenSSLVersion 1.1.1) in CMakeLists.txt?

Below could be discarded then couldn't it?

#if OPENSSL_VERSION_NUMBER < 0x1010100fL
#error OpenSSL too old, libtorrent requires least OpenSSL 1.1.1 or later

I got a bit further with AppVeyor config & OpenSSL 3
https://ci.appveyor.com/project/arvidn/libtorrent/builds/53357292

@xavier2k6
Copy link
Contributor

3x Python38 left to be changed....

@xavier2k6
Copy link
Contributor

@arvidn might be no harm to resolve below "TODO's" & bump CMake to 3.21.0, add note in changelog.

# TODO: migrate to CheckSourceCompiles in CMake >= 3.19

# TODO: needed until https://gitlab.kitware.com/cmake/cmake/issues/19263 is fixed

@arvidn
Copy link
Owner Author

arvidn commented Jan 19, 2026

@xavier2k6 I think that's big enough change to warrant a second PR

@arvidn arvidn merged commit c54a2f4 into RC_2_0 Jan 19, 2026
50 of 51 checks passed
@arvidn arvidn deleted the bump-openssl branch January 19, 2026 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants