cmake_minimum_required(VERSION 3.5) include(ExternalProject) add_subdirectory(yaml-cpp/) # lodepng is included (via source file) directly since the developer himself doesn't want to generate a lib, alright fine, we'll do it your way then.