summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
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)