Skip to content

Commit

Permalink
fix: execute glib-compile-schemas at build time
Browse files Browse the repository at this point in the history
The build system does not support such an operation, the correct way is to
put it in the hook of the build package system such as the debian/postinst script

Log: 删除错误的构建命令
Influence: no
Change-Id: I3f97b278dbc4d61ade9fcde313dd46c339a15def
  • Loading branch information
justforlxz committed Jan 18, 2022
1 parent c86b7ef commit 6faf19b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ install(FILES ${SERVICES} DESTINATION share/dbus-1/services)

#schemas
install(FILES xml/com.deepin.dde.session-shell.gschema.xml DESTINATION share/glib-2.0/schemas)
install(CODE "execute_process(COMMAND glib-compile-schemas ${CMAKE_INSTALL_PREFIX}/share/glib-2.0/schemas)")

# dev
file(GLOB INTERFACE interface/*.h)
Expand Down

0 comments on commit 6faf19b

Please sign in to comment.