summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2018-03-02 20:12:55 +0000
committerMatthias Melcher <fltk@matthiasm.com>2018-03-02 20:12:55 +0000
commitb9dac8f6f6f5fa9a1b45f53415480449f48300b2 (patch)
treeebcff1cd1a20b8ff6e8d07c83d5a50f189b6113a /fluid
parente8a2c4621aac6144198744f1dc60e5b32495cad3 (diff)
Android: should build and run
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12701 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid')
-rw-r--r--fluid/CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/fluid/CMakeLists.txt b/fluid/CMakeLists.txt
index 529c7dfba..feeeb78c2 100644
--- a/fluid/CMakeLists.txt
+++ b/fluid/CMakeLists.txt
@@ -16,6 +16,9 @@
# http://www.fltk.org/str.php
#
+
+if(NOT ANDROID)
+
set(CPPFILES
CodeEditor.cxx
Fl_Function_Type.cxx
@@ -46,7 +49,6 @@ else ()
list(APPEND CPPFILES ExternalCodeEditor_UNIX.cxx)
endif (WIN32)
-if(NOT ANDROID)
if(APPLE AND (NOT OPTION_APPLE_X11) AND (NOT OPTION_APPLE_SDL))
set( ICON_NAME fluid.icns )
set( ICON_PATH "${PROJECT_SOURCE_DIR}/fluid/Fluid.app/Contents/Resources/${ICON_NAME}" )
@@ -54,7 +56,6 @@ if(APPLE AND (NOT OPTION_APPLE_X11) AND (NOT OPTION_APPLE_SDL))
else()
add_executable(fluid WIN32 ${CPPFILES})
endif(APPLE AND (NOT OPTION_APPLE_X11) AND (NOT OPTION_APPLE_SDL))
-endif(NOT ANDROID)
target_link_libraries(fluid fltk fltk_images fltk_forms)
@@ -94,3 +95,6 @@ if(UNIX)
)
endforeach()
endif(UNIX)
+
+endif(NOT ANDROID)
+