cmake_minimum_required(VERSION 3.5) project (yamlprovider) file(GLOB sources "src/*.cpp") add_library(yamlprovider ${sources}) target_link_libraries(yamlprovider INTERFACE yaml-cpp) target_include_directories( yamlprovider PUBLIC ../third-party/yaml-cpp/include/yaml-cpp ../third-party/yaml-cpp/include PUBLIC include/ ../geoworld/include/ )