summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2025-09-20 19:19:34 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2025-09-20 19:19:34 +0200
commite7d20cf352688bf717a01f4e6d9e6f497c2bea4c (patch)
treecfd2ef9b569f49af985a6f1ec44f2614f63c8e78 /CMakeLists.txt
parenta14a7a0ccc9de76aeab0b2e4bbf58f1a79deedc2 (diff)
New upstream version 5.3.1Beta2upstream/5.3.1Beta2
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 845c847..4ea5d54 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -48,8 +48,13 @@ endif()
# Find document conversion tool
find_package(Pandoc)
-# For handling and creation of bitmaps the FreeImage library is required
-find_package(FreeImage REQUIRED)
+# Flatpak
+find_package(Flatpak)
+
+# For handling and creation of bitmaps the FreeImage library is required on Windows
+if(WIN32)
+ find_package(FreeImage REQUIRED)
+endif()
# check for GTK+ 2.0
if(UNIX)