Here's the error log after following the build instructions:
$ cmake ..
CMake Error at /usr/local/Cellar/cmake/3.23.2/share/cmake/Modules/CMakeTestCCompiler.cmake:69 (message):
The C compiler
"/Library/Developer/CommandLineTools/usr/bin/cc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /Users/kd/Desktop/dev/Camomile/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make -f Makefile cmTC_ba6fc/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_ba6fc.dir/build.make CMakeFiles/cmTC_ba6fc.dir/build
Building C object CMakeFiles/cmTC_ba6fc.dir/testCCompiler.c.o
/Library/Developer/CommandLineTools/usr/bin/cc -arch -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk -mmacosx-version-min=10.9 -MD -MT CMakeFiles/cmTC_ba6fc.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_ba6fc.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_ba6fc.dir/testCCompiler.c.o -c /Users/kd/Desktop/dev/Camomile/build/CMakeFiles/CMakeTmp/testCCompiler.c
clang: error: invalid arch name '-arch -isysroot'
clang: warning: /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk: 'linker' input unused [-Wunused-command-line-argument]
make[1]: *** [CMakeFiles/cmTC_ba6fc.dir/testCCompiler.c.o] Error 1
make: *** [cmTC_ba6fc/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:8 (project)
xcode version is:
$ xcode-select -v
xcode-select version 2395.
Here's the error log after following the build instructions:
xcode version is: