From 688a6e7c157356fe86f5bcdc5c05d7817bb281b3 Mon Sep 17 00:00:00 2001 From: Michael Buesch Date: Mon, 20 May 2019 18:37:52 +0200 Subject: Fix out-of-tree-build problem Problem was introduced in fa85551105710a61061ed4717cad3c711aa6a2a3 Signed-off-by: Michael Buesch --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 07e1a0c..e0b57cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,8 +48,8 @@ if(SYSTEMD_UNIT_DIR) DESTINATION ${SYSTEMD_UNIT_DIR}) endif(SYSTEMD_UNIT_DIR) -install(FILES ${CMAKE_BINARY_DIR}/tmpfile.conf - DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/tmpfiles.d +install(FILES ${CMAKE_SOURCE_DIR}/tmpfile.conf + DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/tmpfiles.d RENAME razerd.conf) add_subdirectory(razerd) -- cgit v1.2.3