diff --git a/swig/CMakeLists.txt b/swig/CMakeLists.txt
index 792a5bcfd475a18a1bd616dbfbb25bcfe21dccce..eada9037277bafe296ee15c5b63a78abbc9f8bc3 100644
--- a/swig/CMakeLists.txt
+++ b/swig/CMakeLists.txt
@@ -192,7 +192,8 @@ install(
 )
 
 install(
-	FILES ${CMAKE_CURRENT_BINARY_DIR}/libcorpus2exception.py
+	FILES ${CMAKE_CURRENT_BINARY_DIR}/libpwrnlperror.py
+	${CMAKE_CURRENT_BINARY_DIR}/libcorpus2exception.py
 	${CMAKE_CURRENT_BINARY_DIR}/libcorpus2exception.py
 	${CMAKE_CURRENT_BINARY_DIR}/libcorpustag.py
 	${CMAKE_CURRENT_BINARY_DIR}/libcorpustagset.py
@@ -216,7 +217,8 @@ install(
 # -----------------------------------------------------------------------------
 
 install(
-	FILES libcorpus2exception.i
+	FILES libpwrnlperror.i
+	libcorpus2exception.i
 	libcorpus2exception.i
 	libcorpustag.i
 	libcorpustagset.i