diff --git a/src/xpdev/CMakeLists.txt b/src/xpdev/CMakeLists.txt
index 9a9a69b45c6a9a80be1b23bb669dd266ebdb9a51..cdf6a0a9a9e79c812077af8642ffc9cce1b3780c 100644
--- a/src/xpdev/CMakeLists.txt
+++ b/src/xpdev/CMakeLists.txt
@@ -187,7 +187,7 @@ if(NOT WIN32)
 endif()
 
 export(PACKAGE XPDev)
-export(TARGETS xpdev FILE xpdev.cmake)
+export(TARGETS xpdev FILE XPDevConfig.cmake)
 
 install(TARGETS xpdev DESTINATION lib EXPORT XPDevConfig)
 install(FILES ${INSTALL_HEADERS} DESTINATION include/xpdev)