cmake.backbone/GladeCommonRules.cmake

5 lines
292 B
CMake
Raw Normal View History

2015-11-13 05:14:27 +03:00
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}")