diff --git a/CMakeLists.txt b/CMakeLists.txt
index 66bf0855c510b9c266e3b70e01c0aabcfa2b0e5c..b34e36d7c5654f98480ba3fedfea528c65364d11 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -93,5 +93,5 @@ execute_process(
 )
 configure_file(templates/setup.sh.in ${CMAKE_CURRENT_BINARY_DIR}/setup.sh @ONLY)
 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/setup.sh
-    DESTINATION ${CMAKE_INSTALL_PREFIX}/ip6
+    DESTINATION ${CMAKE_INSTALL_PREFIX}/share/ip6/ip6
 )