--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -28,6 +28,10 @@
 # vxl source directory by loading the cache.
 CONFIGURE_FILE( ${VXL_CMAKE_DIR}/UseVXL.cmake
                 ${vxl_BINARY_DIR}/UseVXL.cmake COPYONLY )
+
+# Copy CTestCustom.cmake to top of build tree
+CONFIGURE_FILE( ${VXL_CMAKE_DIR}/CTestCustom.cmake
+  ${vxl_BINARY_DIR}/CTestCustom.cmake COPYONLY )
 
 # Location of VXL's FindXXX.cmake CMake modules.
 # This is identical to VXL_CMAKE_DIR.  Perhaps we should eliminate MODULE_PATH?