GladeCommonRules.cmake added.

This commit is contained in:
Kolan Sh 2015-11-13 05:14:27 +03:00
parent e545efb40b
commit 28caeab8ac
1 changed files with 4 additions and 0 deletions

4
GladeCommonRules.cmake Normal file
View File

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