]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/CMakeLists.txt
Add Flatpak patches to Dolphin depending on CMake definition
[dolphin.git] / src / CMakeLists.txt
index b97a5d7c0018a873b8c92352d1baf277eff19edc..651f021e6400841e6e36766ba5371f9027be5475 100644 (file)
@@ -340,6 +340,10 @@ target_sources(dolphin PRIVATE
     main.cpp
 )
 
+if(FLATPAK)
+    target_compile_definitions(dolphin PRIVATE FLATPAK)
+endif()
+
 # Sets the icon on Windows and OSX
 file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/*system-file-manager.png")
 ecm_add_app_icon(dolphin_APPICON_SRCS ICONS ${ICONS_SRCS})