Fix: Don't allow right-click to close world generation progress window. (#13084)
[openttd-github.git] / src / video / CMakeLists.txt
blob3b74e104600734685716fe353173657adbff126d
1 add_subdirectory(cocoa)
3 if(NOT OPTION_DEDICATED)
4     add_files(
5         allegro_v.cpp
6         allegro_v.h
7         CONDITION Allegro_FOUND
8     )
10     add_files(
11         opengl.cpp
12         opengl.h
13         CONDITION OPENGL_FOUND
14     )
16     add_files(
17         sdl_v.cpp
18         sdl_v.h
19         CONDITION SDL_FOUND
20     )
22     add_files(
23         sdl2_v.cpp
24         sdl2_v.h
25         sdl2_default_v.cpp
26         sdl2_default_v.h
27         CONDITION SDL2_FOUND
28     )
30     add_files(
31         sdl2_opengl_v.cpp
32         sdl2_opengl_v.h
33         CONDITION SDL2_FOUND AND OPENGL_FOUND
34     )
36     add_files(
37         win32_v.cpp
38         win32_v.h
39         CONDITION WIN32
40     )
41 endif()
43 add_files(
44     dedicated_v.cpp
45     dedicated_v.h
46     null_v.cpp
47     null_v.h
48     video_driver.cpp
49     video_driver.hpp