1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index f46144d..aeac3e4 100644
5 @@ -14,10 +14,10 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror")
6 option(SUPPORT_SYSTEMD "Support service control via systemd" OFF)
9 -install(FILES target-isns.conf DESTINATION /etc/)
10 +install(FILES target-isns.conf DESTINATION ${CMAKE_INSTALL_PREFIX}/etc/)
11 install(FILES target-isns.8 DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man8/)
13 - install(FILES target-isns.service DESTINATION /usr/lib/systemd/system/)
14 + install(FILES target-isns.service DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/systemd/system/)
15 endif (SUPPORT_SYSTEMD)
17 add_subdirectory(tests)