diff --git a/Modules/IO/ImageIO/src/CMakeLists.txt b/Modules/IO/ImageIO/src/CMakeLists.txt
index 62adbc60afb5bd7981801a42a3fe34fb7786128c..b5d1f442476c36ff8ea437d563fe150edd14ef25 100644
--- a/Modules/IO/ImageIO/src/CMakeLists.txt
+++ b/Modules/IO/ImageIO/src/CMakeLists.txt
@@ -23,6 +23,7 @@ set(OTBImageIO_SRC
   otbMultiImageFileWriter.cxx
   otbImageFileReader.cxx
   otbImageFileWriter.cxx
+  otbImageFileReaderException.cxx
   )
 
 add_library(OTBImageIO ${OTBImageIO_SRC})