[DiscordArchive] is it defined elsewhere too?
[DiscordArchive] is it defined elsewhere too?
Archived author: Foe • Posted: 2023-03-04T23:46:40.697000+00:00
Original source
yeah, the macro used here is pretty hacked together tbh, two very different ways to find the packages depending on system
Archived author: Anchy • Posted: 2023-03-04T23:47:19.121000+00:00
Original source
Foe is onto it and it sounds like it would fix 99% of the cmake issues with MariaDB for the noobs that come in here
Archived author: Foe • Posted: 2023-03-04T23:47:27.260000+00:00
Original source
https://gitlab.kitware.com/vtk/vtk/-/blo...ySQL.cmake
[Embed: CMake/FindMySQL.cmake · master · VTK / VTK · GitLab]
Visualization Toolkit
https://gitlab.kitware.com/vtk/vtk/-/blo...ySQL.cmake
Archived author: Foe • Posted: 2023-03-04T23:47:39.660000+00:00
Original source
This is the default cmake FindMySQL macro btw
Archived author: Foe • Posted: 2023-03-04T23:47:47.555000+00:00
Original source
handles both MySQL and mariaDB
Archived author: Foe • Posted: 2023-03-04T23:48:05.425000+00:00
Original source
it gets distributed with cmake, so you don't have to maintain your own macro
Archived author: Foe • Posted: 2023-03-04T23:48:16.115000+00:00
Original source
you could drop that macro entirely and just call the built in cmake macro
Archived author: Revision • Posted: 2023-03-04T23:48:38.373000+00:00
Original source
However you do that
Archived author: Foe • Posted: 2023-03-04T23:49:23.691000+00:00
Original source
delete FindMySQL.cmake from the source, find wherever that macro was called and change it to the internal FindMySQL macro
Archived author: Revision • Posted: 2023-03-04T23:49:42.386000+00:00
Original source
Again, however you do that.