summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2021-11-11 23:11:06 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2021-11-11 23:11:06 +0100
commit654e20ff8b8ee8d8679acad5e448d0e16c9afb42 (patch)
tree59a212dd7c1d3db3eb8157292215f42ffc4caa0c /CMakeLists.txt
parent6d1f5608ba155e57e7f9efb7925de634e59e7369 (diff)
CMake: Build fluid when cross-compiling
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 577e0656b..72b9102d7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -115,6 +115,20 @@ endif (debug_build)
unset (debug_build)
#######################################################################
+# build the FLTK libraries
+#######################################################################
+
+add_subdirectory(src)
+
+#######################################################################
+# build fluid
+#######################################################################
+
+if (NOT ANDROID)
+ add_subdirectory(fluid)
+endif()
+
+#######################################################################
# variables shared by export and install
# export.cmake creates configuration files for direct use in a built but uninstalled FLTK
# install.cmake creates these files for an installed FLTK