Use brew volk package on MacOS instead of source build
Recent versions of cmake require cmake_minimum_required(VERSION) to be higher than 3.5. Almost all CMakeLists.txt are already at VERSION=3.12. I found two more CMakeLists.txt where cmake_minimum_required had to be bumped to 3.12.
Volk can now be installed on MacOS with the Homebrew package manager. No more manual compiling needed. I updated the readme accordingly.
Recent versions of cmake require cmake_minimum_required(VERSION) to be higher than 3.5. Almost all CMakeLists.txt are already at VERSION=3.12. I found two more CMakeLists.txt where cmake_minimum_required had to be bumped to 3.12.
Please PR to upstream instead:
- https://github.com/quiet/libcorrect
- https://github.com/discord/discord-rpc
Volk can now be installed on MacOS with the Homebrew package manager. No more manual compiling needed. I updated the readme accordingly.
I can't test right now as I don't have a mac to validate that this is the case. Please edit the PR to only keep this change and I'll only merge once I can check first hand that the brew version works properly.
Thanks for the swift feedback. I just opened the PRs as suggested in the upstream repos, but I doubt that they will ever get merged. There hasn't been any activity in these repos for more than 5 years.
Sure, I can remove the edit to the CMakeLists.txt.
Would you prefer to add note in the readme.md that for modern versions of cmake, the flag -DCMAKE_POLICY_VERSION_MINIMUM=3.5 needs to be set?
Here is the link to the volk homebrew formula.
Was gonna check that stuff but turns out my macbook pro died. Gonna have to wait some more sorry...