Open the formula in your editor:
brew edit game-porting-toolkit-compiler
Find the system "cmake", ... block.
Add:
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5",
to the cmake arguments.
Save and retry:
brew reinstall --build-from-source apple/apple/game-porting-toolkit
Topic:
Graphics & Games
SubTopic:
General
Tags: