Re: Marble versioning

Johannes Zarl-Zierl <[email protected]> Fri, 30 Jul 2021 00:17:18 +0200
Newsgroups gmane.comp.kde.kimdaba
Message-ID <85664865.5de1KelbQN@jo2021>
--===============2317049331641472511==
Content-Type: multipart/signed; boundary="nextPart3867889.QD83p7Fl6X";
 micalg="pgp-sha512"; protocol="application/pgp-signature"

--nextPart3867889.QD83p7Fl6X
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"; protected-headers="v1"
From: Johannes Zarl-Zierl <[email protected]>
To: [email protected]
Subject: Re: [KPhotoAlbum] Marble versioning
Date: Fri, 30 Jul 2021 00:17:18 +0200
Message-ID: <85664865.5de1KelbQN@jo2021>
In-Reply-To: <10237230.aFP6jjVeTY@ginuog>
References: <2090122.C4sosBPzcN@ginuog> <37850902.MHN8ft9vk3@jo2021> <10237230.aFP6jjVeTY@ginuog>

Am Donnerstag, 29. Juli 2021, 07:05:33 CEST schrieb Tobias Leupold:
> > Once we can rely on the next release (say, 21.09), "find_package(Marble
> > 21.09 REQUIRED)" will work for the future and also match 22.04 etc.
> 
> I though that was not the case, and cmake will define a 22.* release to not
> match a 21.* required version?!
> 
> At least, 21.* does not match 0.*?
> 
> What did I miss?

The MarbleConfigVersion.cmake file.
In the simple (and most common) case, this file is created by 
write_basic_package_config_file():

https://cmake.org/cmake/help/latest/module/
CMakePackageConfigHelpers.html#command:write_basic_package_version_file

I.e. a cmake package not only defines where to find the package and which 
version it is, but also the compatible version range.

Cheers,
  Johannes






--nextPart3867889.QD83p7Fl6X
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEl6nGIhrxKR+gDIJesUNk9Y9clpgFAmEDKO4ACgkQsUNk9Y9c
lpjYMgf/WwdlwDX/peJElJwysM1Zpt8JCPvbqbtpXi/YHxIEpBTgFfK/NmPUVxl6
vL7eOj7SzoAHcvk/N5bW1YQ7tQ2ypvllhPERM4urbnpdBFs9W1X4umd+WhRkwGXi
dMrJF1qAioxq5wFuZ7jgS5i4mZRaICyjz+yRY2PZQYCqQmdY742wiF64c80TLQaj
nzIhtFtvlZRoffeUmWZXYBodkjffBlafy6bZfn8KYJ1O+2I3ElCUrgV9l9LdC8uf
zrrHGKlph7j0uY8ISBmlgBtbAkbiVaN/KOY9Bx3/OqmvUw0W0f0UxvvrzFwnyqhg
6thOgNGcgJBu/paUCju2wWnRrWbKCQ==
=RDAv
-----END PGP SIGNATURE-----

--nextPart3867889.QD83p7Fl6X--



--===============2317049331641472511==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
KPhotoAlbum mailing list
[email protected]
https://mail.kdab.com/mailman/listinfo/kphotoalbum

--===============2317049331641472511==--