diff --git a/server/CMakeLists.txt b/server/CMakeLists.txt index 29a86aeb..cc98a4d9 100644 --- a/server/CMakeLists.txt +++ b/server/CMakeLists.txt @@ -125,7 +125,7 @@ else() COMPONENT server DESTINATION ${CMAKE_INSTALL_DATADIR}/snapserver) if(SNAPWEB_DIR) - install(DIRECTORY "${SNAPWEB_DIR}" + install(DIRECTORY "${SNAPWEB_DIR}/" DESTINATION ${CMAKE_INSTALL_DATADIR}/snapserver/snapweb) else() install(DIRECTORY etc/snapweb/