Am Donnerstag, 5. Oktober 2017 um 17:57:16, schrieb Jean-Pierre Chrétien <jeanpierre.chret...@free.fr> > Hello, > > On Debian Stretch, cmake 3.7.2, when I run > > $ cmake -DLYX_CPACK=ON -DCPACK_BINARY_DEB:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE=ON > -DLYX_ENABLE_EXPORT_TESTS=ON -DLYX_RELEASE=ON -DLYX_PROGRAM_SUFFIX=ON > -DLYX_ENABLE_CXX11=AUTO -DLYX_USE_QT=QT5 -DLYX_LOCALVERSIONING=ON > ../newmaster > > cmake.log > > on 2.3.x, I get this: > > CMake Error at development/cmake/doc/CMakeLists.txt:31 (add_custom_command): > add_custom_command called with OUTPUT containing a "#". This character is > not allowed. > > Any clue?
The OUTPUT refers to ${_created_doc}, so I would try to debug, e.g insert prior to the 'custom_command()' message(STATUS "output ${_created_doc}") But probably in your source directory is a file starting with '#'. Editing with emacs? Kornel
signature.asc
Description: This is a digitally signed message part.