cppzmq icon indicating copy to clipboard operation
cppzmq copied to clipboard

Bump cmake minimum version to 3.13

Open TheMagnetar opened this issue 3 months ago • 3 comments

Having the minimum cmake version lower than 3.13 will leave policies CMP0079 and CMP0077 unset. This will have conflicts with other projects that use cppzmq with add_subdirectory and that have a dependency on Catch2 as well to fail to compile.

Bumping the cmake_minimum_version to 3.13 prevents that.

TheMagnetar avatar Nov 03 '25 19:11 TheMagnetar

Can cmake_policy be used instead to not break things?

gummif avatar Nov 03 '25 19:11 gummif

Pull Request Test Coverage Report for Build 19046429772

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 88.379%

Totals Coverage Status
Change from base Build 17909983277: 0.0%
Covered Lines: 905
Relevant Lines: 1024

💛 - Coveralls

coveralls avatar Nov 03 '25 19:11 coveralls

I will also work, note that however other policies may still be left unset. What solution do you find more suited for this project?

In my opinion bumping the minimum required version is cleaner than defining a set of policies manually. However I do not have a good perspective where cppzmq is used nor the requirements of other projects. Therefore I will implement your suggestion.

TheMagnetar avatar Nov 04 '25 15:11 TheMagnetar