DEADSOFTWARE

build: move dependency check to modules where they used
[d2df-sdl.git] / src / flexui / fui_events.pas
index aff63479faed253bd63c89f1794b05caa9846ddb..836ec1417431ed7cf77ff49aa627f5d0878d2a10 100644 (file)
@@ -3,8 +3,7 @@
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ * the Free Software Foundation, version 3 of the License ONLY.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 {$INCLUDE ../shared/a_modes.inc}
 unit fui_events;
 
+  {$IFNDEF USE_SDL2}
+    {$FATAL SDL2 required for flexui fui_events}
+  {$ENDIF}
+
 interface
 
 uses