From 48db7a07ef8e28dd4ab42b7bdc48669b503f354b Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 27 Jan 2016 23:57:53 +0000 Subject: Modify Xlib driver code not to #include source files. Adjusted CMake build, and with some additional temporary #ifdef's the old Linux Makefile system works as well. Defined FL_LIBRARY_CMAKE for now - will be removed later. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11067 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_vertex.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/fl_vertex.cxx') diff --git a/src/fl_vertex.cxx b/src/fl_vertex.cxx index 80f76d3e7..5ff5f644e 100644 --- a/src/fl_vertex.cxx +++ b/src/fl_vertex.cxx @@ -145,6 +145,10 @@ void Fl_Graphics_Driver::fixloop() { // remove equal points from closed path } +// ----------------------------------------------------------------------------- +// Remove #ifndef FL_LIBRARY_CMAKE and the entire block of #include +// statements when the new build system is ready: +#ifndef FL_LIBRARY_CMAKE // ----------------------------------------------------------------------------- @@ -171,6 +175,10 @@ void Fl_Graphics_Driver::fixloop() { // remove equal points from closed path #endif +// ----------------------------------------------------------------------------- + +#endif // FL_LIBRARY_CMAKE + // ----------------------------------------------------------------------------- -- cgit v1.2.3