Hello,
Is MAX_PATH a problem with CPack? I received the following error when
the destination is longer than MAX_PATH (here, 264 chars):
CPack Error: Problem copying file:
S:/devel/bootstrap-windev/sysroot/toolchain/var/tmp/wpkg/source/epsitec+lydia/usr/share/epsitec/lydia/cache/data/Lydia.Arc.Components/lydia/electrum-arc/components/forms/options/CheckboxField/CheckboxField.styles.js
->
S:/devel/bootstrap-windev/sysroot/toolchain/var/tmp/wpkg-8424/build/_CPack_Packages/win64-Source/TGZ/epsitec+lydia_0.1.0.0////usr/share/epsitec/lydia/cache/data/Lydia.Arc.Components/lydia/electrum-arc/components/forms/options/CheckboxField/CheckboxField.styles.js
set(CPACK_SOURCE_GENERATOR "TGZ")
set(CPACK_SOURCE_PACKAGE_FILE_NAME "epsitec+lydia_0.1.0.0")
include(CPack)
If I reduce the longer, it works fine. I've just looked a bit in the
sources. It seems that it uses UNC paths then I don't understand.
I'm using CMake 3.2.3.
Thanks
Regards,
Mathieu Schroeter
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake