From a9f293061e9acc3cf7f812e2205187af5267dc38 Mon Sep 17 00:00:00 2001 From: Andrew Nelless Date: Wed, 26 Apr 2017 15:38:22 +0100 Subject: [PATCH] Make CMake configure rpm spec --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f6613f4..71f19912 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -392,7 +392,8 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") else() install(FILES res/synergy.desktop DESTINATION share/applications) endif() - + + configure_files (${CMAKE_CURRENT_SOURCE_DIR}/dist/rpm ${CMAKE_BINARY_DIR}/rpm) install(FILES res/synergy.svg DESTINATION share/icons) endif()