summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
authorDejan Lekic <dejan.lekic@gmail.com>2005-08-06 05:02:56 +0000
committerDejan Lekic <dejan.lekic@gmail.com>2005-08-06 05:02:56 +0000
commit1cd06f3ad011f8be3c01fbc7cac10ce823805855 (patch)
treea390daf29a40ef886fa8c057ede8e76a3a785704 /fluid
parent289434a6e2435970187db695b13839054260eca8 (diff)
This commit contains patch submitted by "fltk.x0" (thanks fltk.x0!) in the middle of May this year - STR #863. Also small change in fluid.cxx - time.h was needed for successful build on MinGW.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4468 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid')
-rw-r--r--fluid/CMakeLists.txt2
-rw-r--r--fluid/fluid.cxx1
2 files changed, 2 insertions, 1 deletions
diff --git a/fluid/CMakeLists.txt b/fluid/CMakeLists.txt
index c6f0e1a3e..347f258dc 100644
--- a/fluid/CMakeLists.txt
+++ b/fluid/CMakeLists.txt
@@ -22,9 +22,9 @@ SET(CPPFILES
ADD_EXECUTABLE(fluid ${CPPFILES})
+INSTALL_TARGETS(/bin fluid)
TARGET_LINK_LIBRARIES(fluid fltk fltk_images fltk_forms ${FLTK_PLATFORM_DEPENDENT_LIBS})
IF(OPENGL_FOUND)
TARGET_LINK_LIBRARIES(fluid fltk_gl)
ENDIF(OPENGL_FOUND)
-INSTALL_TARGETS(/bin fluid)
diff --git a/fluid/fluid.cxx b/fluid/fluid.cxx
index d6af4db2b..05c3a781a 100644
--- a/fluid/fluid.cxx
+++ b/fluid/fluid.cxx
@@ -43,6 +43,7 @@
#include <stdlib.h>
#include <errno.h>
#include <sys/stat.h>
+#include <time.h> // time(), localtime(), etc.
#include "../src/flstring.h"
#include "alignment_panel.h"