cmake_minimum_required(VERSION 3.5) project(gtk-graph-view-app LANGUAGES C) aux_source_directory("src" SRC_DIR) add_executable(${PROJECT_NAME} ${SRC_DIR}) target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include) target_link_libraries(${PROJECT_NAME} gtkgraphview) add_dependencies(${PROJECT_NAME} gtkgraphview)