> On 19 May 2025, at 11:04, P.O. Jonsson <oor...@jonases.se> wrote:
>
> With min 3.5 we are good to go for some time still, the problem only arose
> because the support for versions earlier to 3.5 was dropped (a few days
> before the release…)
Well… I just installed cmake 4.0.2, it’s already time to increment…
Other problem: only 5.1.0 has been set to min 3.5, trunk is still min 2.8.12
Here are the changes I made to ooRexx 4.2 (Executor).
CMake Warning (dev) at CMakeLists.txt:650 (add_custom_command):
The following keywords are not supported when using
add_custom_command(TARGET): DEPENDS.
jlf: in trunk/CMakeLists.txt, put in comment or remove DEPENDS, only for the
TARGET cases (all other add_custom_command must not be modified)
CMake Deprecation Warning at samples/CMakeLists.txt:48 (cmake_policy):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
jlf: I replaced 3.5 by 3.12 everywhere to be aligned with Apple rpath
requirement.
I don't know if cmake_policy(VERSION 2.8...3.12) is still compatible with:
# CMP0091 introduced in 3.15 must stay OLD for our /MD -> /MT hack to work
(tested on Windows 11 ARM, it works for me)
In the portable section:
CMake Warning (dev) at CMakeLists.txt:2567 (exec_program):
Policy CMP0153 is not set: The exec_program command should not be called.
Use execute_process() instead.
jlf:
# exec_program("uname" ARGS "-s" OUTPUT_VARIABLE rexx_exe_opsys) #
execute_process() did not work out
execute_process(COMMAND uname -s OUTPUT_VARIABLE rexx_exe_opsys)
On macOS, the value of rexx_exe_opsys is Darwin, so it works.
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel