Hi P.O., thanks for fixing this. Needed an extra -DCMAKE_POLICY_VERSION_MINIMUM=3.5 but everything works.
best regards, René. > On 1 May 2025, at 17:48, ooRexx <oor...@jonases.se> wrote: > > Dear developers, > > As of today it is not possible to build ooRexx on macOS Sequoia, at least not > from Jenkins. > > It started by Jenkins complaining that CMake is to old, so I upgraded to the > latest version 4.0.1 > > I then amended CMakeLists.txt to reflect this at the very beginning (my > amendment in red > > message(STATUS "CMake version is ${CMAKE_VERSION}") > if (APPLE) > # apple builds with prior cmake version have an @rpath problem > cmake_minimum_required (VERSION 4.0.1) > else () > # for other platforms > cmake_minimum_required (VERSION 2.8.12) > endif () > # CMP0091 introduced in 3.15 must stay OLD for our /MD -> /MT hack to work > cmake_policy(VERSION 2.8...3.3) > > When building it stops more or less immediately with this information: > > No emails were triggered. > Copied 16 artifacts from "ooRexx-docs-build" build number 154 > [ooRexx-macOS15-X86_64-build] $ /bin/sh -xe > /var/folders/mb/6jv9bq496wgckjj40cc5l3_h0000gp/T/jenkins77377995241273722.sh > + /bin/rm -dfr /Users/jenkins/Applications/ooRexx5 > + /bin/rm -dfr oorexxBuild/CMakeCache.txt oorexxBuild/CMakeFiles > + /bin/mkdir -p oorexxBuild > + cd oorexxBuild > + /usr/local/bin/cmake -G 'Unix Makefiles' -DBUILD_OSX_UNIVERSAL_BINARIES=1 > -DBUILD_DMG=1 -DOS_DIST=macos -DCMAKE_BUILD_TYPE=RELEASE > -DDOC_SOURCE_DIR=/Users/jenkins/workspace/ooRexx-macOS15-X86_64-build/oorexxBuild/../oorexxDocs/pdf_files > '-DCMAKE_INSTALL_PREFIX=~/Applications/ooRexx5' ../oorexxSVN > -- CMake version is 4.0.1 > CMake Error at CMakeLists.txt:51 (cmake_policy): > Compatibility with CMake < 3.5 has been removed from CMake. > > Update the VERSION argument <min> value. Or, use the <min>...<max> syntax > to tell CMake that the project requires at least <min> but has been updated > to work with policies introduced by <max> or earlier. > > Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. > > Line 51 referred to is the line > > cmake_policy(VERSION 2.8…3.3) > > I did not date to change for the other platforms because of the remark in the > line before line 51 since I do not know what “hack” this is. > > What are my options? > > Should I try to move cmake_policy(VERSION 2.8…3.3) inside the else - endif so > that it does not hit macOS? > > OR should we try something else? > > Unless this is solved I cannot build on macOS Sequoia. > > Hälsningar/Regards/Grüsse, > ooRexx > oor...@jonases.se > > > > _______________________________________________ > Oorexx-devel mailing list > Oorexx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oorexx-devel
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel