diff options
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f10008a..8fc581b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)
\ No newline at end of file +CONFIGURE_FILE("${CMAKE_SOURCE_DIR}/rosegarden.spec.in" "${CMAKE_BINARY_DIR}/rosegarden.spec" IMMEDIATE @ONLY) |