On 18/09/2025 18:45, Marco Calistri via wsjt-devel wrote:
This is the main reason, since apparently cmake 4.1.1 has changed some requirements.

Looked at this:

CMake Error at CMakeLists.txt:199 (add_custom_target):
  The target name "install" is reserved or not valid for certain CMake
  features, such as generator expressions, and may result in undefined
  behavior.

change


diff --git a/CMakeLists.txt b/CMakeLists.txt
index bc179d8..93011e2 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -196,7 +196,7 @@ add_dependencies (wsjtx-package hamlib-install)

 # export traditional targets
 add_custom_target (build ALL DEPENDS wsjtx-build)
-add_custom_target (install DEPENDS wsjtx-install)
+add_custom_target (pkginstall DEPENDS wsjtx-install)
 add_custom_target (package DEPENDS wsjtx-package)

and it should work with your procedure
plus -DCMAKE_POLICY_VERSION_MINIMUM=3.5

--
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )


_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to