Browse Source

GladeCommonRules.cmake added.

master
Kolan Sh 6 years ago
parent
commit
28caeab8ac
  1. 4
      GladeCommonRules.cmake

4
GladeCommonRules.cmake

@ -0,0 +1,4 @@
SET (REL_INSTALL_DIR "share/${PROJECT_LOWERCASE_NAME}-${MAJOR}/ui")
SET (ABS_INSTALL_DIR "${CMAKE_BINARY_DIR}/${REL_INSTALL_DIR}")
CONFIGURE_FILE (${GladeFile}.glade ${ABS_INSTALL_DIR}/${GladeFile}.glade)
INSTALL (FILES ${ABS_INSTALL_DIR}/${GladeFile}.glade DESTINATION "${REL_INSTALL_DIR}")
Loading…
Cancel
Save