diff --git a/FileIO/CMakeLists.txt b/FileIO/CMakeLists.txt
index 814df395ae748d0be71feb32852ce66c74c17ecf..f9fd6a35f8a51ac504dda22b74cc9dd6d662e37c 100644
--- a/FileIO/CMakeLists.txt
+++ b/FileIO/CMakeLists.txt
@@ -46,3 +46,8 @@ TARGET_LINK_LIBRARIES (FileIO
 IF (Shapelib_FOUND)
 	TARGET_LINK_LIBRARIES (FileIO ${Shapelib_LIBRARIES})
 ENDIF (Shapelib_FOUND)
+
+IF (OGS_PACKAGING)
+	FILE(GLOB XSD_FILES . *.xsd)
+	INSTALL (FILES ${XSD_FILES} DESTINATION bin)
+ENDIF()
\ No newline at end of file