cross compiling for mingw fails in cpack as it cant find the Wix files.
When attempting to build cmake on a Linux machine for mingw (cross compiling):
CMake Error at Source/CMakeLists.txt:989 (add_library):
Cannot find source file:
CPack/Wix/cmCMakeToWixPath.cxx
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
CMake Error at Source/CMakeLists.txt:989 (add_library):
No SOURCES given to target: CPackLib
The issue at a quick look is that the sources are in CPack/WiX/, but CMakeFileList.txt is looking for CPack/Wix/