summaryrefslogtreecommitdiff
path: root/src/fl_font.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/fl_font.cxx')
-rw-r--r--src/fl_font.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/fl_font.cxx b/src/fl_font.cxx
index 38088d69f..501fb3f02 100644
--- a/src/fl_font.cxx
+++ b/src/fl_font.cxx
@@ -45,6 +45,12 @@
#include <stdio.h>
#include <stdlib.h>
+// -----------------------------------------------------------------------------
+// Remove #ifndef FL_LIBRARY_CMAKE and the entire block of #include
+// statements when the new build system is ready:
+
+#ifndef FL_LIBRARY_CMAKE
+
#ifdef WIN32
# include "drivers/GDI/Fl_GDI_Graphics_Driver_font.cxx"
#elif defined(__APPLE__)
@@ -57,6 +63,10 @@
# include "drivers/Xlib/Fl_Xlib_Graphics_Driver_font_x.cxx"
#endif // WIN32
+#endif // FL_LIBRARY_CMAKE
+
+// -----------------------------------------------------------------------------
+
#if defined(WIN32) || defined(__APPLE__)
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: do you need the XFontStruct"