App: Add shimatta-opengl as dependency

This commit is contained in:
Mario Hüttel 2020-06-25 23:45:32 +02:00
parent c5610b444b
commit 4b290fb608
2 changed files with 2 additions and 1 deletions

View File

@ -5,5 +5,5 @@ aux_source_directory("src" SRC_DIR)
add_executable(${PROJECT_NAME} ${SRC_DIR}) add_executable(${PROJECT_NAME} ${SRC_DIR})
target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include) target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include)
target_link_libraries(${PROJECT_NAME} gtkgraphview) target_link_libraries(${PROJECT_NAME} gtkgraphview shimatta-opengl)
add_dependencies(${PROJECT_NAME} gtkgraphview) add_dependencies(${PROJECT_NAME} gtkgraphview)

View File

@ -17,6 +17,7 @@
#include <stdio.h> #include <stdio.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <gtk-graph-view.h> #include <gtk-graph-view.h>
#include <shimatta-opengl-program.h>
static gboolean main_window_delete_event(GtkWidget *window, gpointer user) static gboolean main_window_delete_event(GtkWidget *window, gpointer user)
{ {