Set cmake minimal version before project
This prevents a warning when building:
CMake Warning (dev) at CMakeLists.txt:4 (project):
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.
Edited by Méven Car