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).
This commit is contained in:
Jim Nelson 2012-08-22 11:49:16 -07:00
parent 1186ea33af
commit d975cad678
2 changed files with 6 additions and 4 deletions

View file

@ -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

View file

@ -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)