1 2 3 4 5 6 7 8 9
cmake_minimum_required(VERSION 2.8.3) project(RPGEDIT CXX) find_package(PkgConfig REQUIRED) pkg_check_modules(SDL2 REQUIRED sdl2 SDL2_image) add_subdirectory(src)