|
|
|
@ -116,8 +116,8 @@ tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
|
|
|
|
|
configure_file( config.h.cmake config.h @ONLY )
|
|
|
|
|
|
|
|
|
|
# create and install the version file
|
|
|
|
|
FILE(WRITE version.txt "${VERSION}\n")
|
|
|
|
|
INSTALL( FILES version.txt DESTINATION ${DATA_INSTALL_DIR}/rosegarden )
|
|
|
|
|
FILE(WRITE "${CMAKE_BINARY_DIR}/version.txt" "${VERSION}\n")
|
|
|
|
|
INSTALL( FILES "${CMAKE_BINARY_DIR}/version.txt" DESTINATION ${DATA_INSTALL_DIR}/rosegarden )
|
|
|
|
|
|
|
|
|
|
# configure the RPM spec
|
|
|
|
|
CONFIGURE_FILE("${CMAKE_SOURCE_DIR}/rosegarden.spec.in" "${CMAKE_SOURCE_DIR}/rosegarden.spec" IMMEDIATE @ONLY)
|
|
|
|
|
CONFIGURE_FILE("${CMAKE_SOURCE_DIR}/rosegarden.spec.in" "${CMAKE_BINARY_DIR}/rosegarden.spec" IMMEDIATE @ONLY)
|
|
|
|
|