962b6aab90afdc4e677a633263fd3c418c5cbb9c
[xonotic/netradiant.git] / libs / gtkutil / CMakeLists.txt
1 add_library(gtkutil
2         accelerator.cpp accelerator.h
3         button.cpp button.h
4         clipboard.cpp clipboard.h
5         closure.h
6         container.h
7         cursor.cpp cursor.h
8         dialog.cpp dialog.h
9         entry.cpp entry.h
10         filechooser.cpp filechooser.h
11         frame.cpp frame.h
12         glfont.cpp glfont.h
13         glwidget.cpp glwidget.h
14         idledraw.h
15         image.cpp image.h
16         menu.cpp menu.h
17         messagebox.cpp messagebox.h
18         nonmodal.cpp nonmodal.h
19         paned.cpp paned.h
20         pointer.h
21         toolbar.cpp toolbar.h
22         widget.h
23         window.cpp window.h
24         xorrectangle.h
25         )
26
27 target_include_directories(gtkutil PRIVATE uilib)
28 target_link_libraries(gtkutil PRIVATE uilib)
29
30 target_include_directories(gtkutil PRIVATE ${${GTK_NS}_INCLUDE_DIRS})
31 target_link_libraries(gtkutil PRIVATE ${${GTK_NS}_LIBRARIES})
32
33 find_package(GtkGLExt REQUIRED)
34 target_include_directories(gtkutil PRIVATE ${GTKGL_INCLUDE_DIRS})
35 target_link_libraries(gtkutil PRIVATE ${GTKGL_LIBRARIES})