Zeex / sampgdk

Write SA-MP gamemodes in C/C++
http://zeex.github.io/sampgdk
Apache License 2.0
156 stars 83 forks source link

Minimum required version should be 3.1 #202

Closed Y-Less closed 5 years ago

Y-Less commented 5 years ago

CMakeLists.txt states a minimum version of 2.8.12:

https://github.com/Zeex/sampgdk/blob/60934cab2bf3c68fd86052fdae6bd9bbd432e46d/CMakeLists.txt#L3

But the script calls cmake -E env:

https://github.com/Zeex/sampgdk/blob/60934cab2bf3c68fd86052fdae6bd9bbd432e46d/CMakeLists.txt#L102

Which wasn't introduced until 3.1.

Zeex commented 5 years ago

Thanks, fixed it.