Commit d975cad6 authored by Jim Nelson's avatar Jim Nelson

Geary does not run in build directory

Prior commit fixed #5692 but broke running Geary from the build
directory (because the GSettings schema isn't installed).
parent 1186ea33
......@@ -408,6 +408,12 @@ add_custom_command(
${CMAKE_COMMAND} -E copy geary ${CMAKE_BINARY_DIR}/
)
# GSettings
# This needs to be here and not in client/CMakeLists.txt in order for Geary to run in the build
# directory
include(GSettings)
add_schemas(geary ${GSETTINGS_DIR})
add_subdirectory(client)
# Console app
......
......@@ -8,10 +8,6 @@ install(
share/applications
)
# GSettings
include(GSettings)
add_schemas(geary ${GSETTINGS_DIR})
# Optional: run update-desktop-database at install time.
# (This has to happen after the geary.desktop file is installed.)
if (DESKTOP_UPDATE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment