wxmaxima-26.06.2: cmake reports an error
"Andrey G. Grozin via Maxima-discuss" <[email protected]> Thu, 18 Jun 2026 13:26:46 +0700 (+07)
| Newsgroups | gmane.comp.mathematics.maxima.general |
|---|---|
| Message-ID | <[email protected]> |
I'm trying to compile wxmaxima-26.06.2, but I get
CMake Error at data/CMakeLists.txt:47 (add_custom_command):
add_custom_command called with wrong number of arguments.
The corresponding part of data/CMakeLists.txt is
# Compress man pages
add_custom_command(
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/wxmaxima.1.gz"
COMMAND gzip -cn9 "${CMAKE_CURRENT_BINARY_DIR}/wxmaxima.1" >
"${CMAKE_CURRENT_BINARY_DIR}/wxmaxima.1.gz"
DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/wxmaxima.1"
COMMENT "Compressing man page"
)
add_custom_target(generate_man ALL DEPENDS
"${CMAKE_CURRENT_BINARY_DIR}/wxmaxima.1.gz")
I use cmake-4.3.3. I cannot understand what's wrong with this
add_custom_command. Any help?
Andrey