In CMakeLists.txt: find_package(SDL2 ...) must be called AFTER project(...) as it sets essential variables for cmake