[DiscordArchive] I changed to `set(_MySQL_versions 5.7 8.0)`
[DiscordArchive] I changed to `set(_MySQL_versions 5.7 8.0)`
Archived author: Foe • Posted: 2023-03-05T00:27:17.989000+00:00
Original source
its built into cmake so
Archived author: Foe • Posted: 2023-03-05T00:27:20.984000+00:00
Original source
might as well use it
Archived author: Kitzunu • Posted: 2023-03-05T00:27:21.078000+00:00
Original source
okay, because the pkg stuff doesnt have
```cmake
set(_MySQL_mariadb_versions 10.5 10.6)
set(_MySQL_versions 5.7 8.0)
```
Archived author: Foe • Posted: 2023-03-05T00:27:25.564000+00:00
Original source
yeah
Archived author: Kitzunu • Posted: 2023-03-05T00:27:36.945000+00:00
Original source
which means you could install which ever version
Archived author: Foe • Posted: 2023-03-05T00:27:40.692000+00:00
Original source
yep
Archived author: Kitzunu • Posted: 2023-03-05T00:28:01.258000+00:00
Original source
but we could set these variables outside and check for the version in pkg too
Archived author: Kitzunu • Posted: 2023-03-05T00:28:02.641000+00:00
Original source
right?
Archived author: Foe • Posted: 2023-03-05T00:28:23.469000+00:00
Original source
you could yes, pretty much like if (_mariadb_VERSION VERSION_LESS 10.4)
Archived author: Foe • Posted: 2023-03-05T00:28:38.050000+00:00
Original source
but instead of 10.4 you'd get the version from your set() variable