Ignoring CMAKE_OSX_SYSROOT value
??? info “Problem environment”
1- author: Julyfun MacOS14.5 M12- edited date: 2024-07-313- expected environment: Darwin 192.168.124.13 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103 arm64
Details of the problem / Steps to reproduce the error
cli cmake an old project warns:
1CMake Warning at /opt/homebrew/Cellar/cmake/3.29.2/share/cmake/Modules/Platform/Darwin-Initialize.cmake:308 (message):2 Ignoring CMAKE_OSX_SYSROOT value:3
4 /Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk5
6 because the directory does not exist.7Call Stack (most recent call first):8 /opt/homebrew/Cellar/cmake/3.29.2/share/cmake/Modules/CMakeSystemSpecificInitialize.cmake:34 (include)9 CMakeLists.txt:2 (project)
and build failed.
Answer 1
??? info “Answer environment”
1- author: As in the problem2- edited date: As in the problem3- verified environment: As in the problem4- assume readers know: _No assumption_
rm -r *
in your build cache folder. Done.