Skip to content

Commit f2bb4fc

Browse files
committed
Allow building in another directory
1 parent e4f8acd commit f2bb4fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ endif()
114114

115115
configure_file(${TARGET_NAME}.service.in ${TARGET_NAME}.service)
116116

117-
install(FILES ${TARGET_NAME}.service
117+
install(FILES ${CMAKE_BINARY_DIR}/${TARGET_NAME}.service
118118
DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/systemd/system/)
119119

120120
# TESTING

0 commit comments

Comments
 (0)