Closed inventor02 closed 6 months ago
I merged the pull request thinking it was working, but I'm noticing that I'm getting a "cmake not found message, while I have the make command that was previously used in the script.
That's strange - cmake
is used on the line before the one I changed (and has always been there) so I think this is a requirement to build yaml-cpp
yes, your're right. I wasn't compiling noxim on macos in the recent month, so I forgot that cmake is not included by default. Anyway I think any noxim user will be able to meet this dependency on cmake, thanx for the fix.
If the
CMAKE_GENERATOR
is set to anything other thanUnix Makefiles
, the macOS install script fails, as it is hardcoded to usemake
regardless of the CMake setting.CMake has a solution for this in the form of
cmake --build
, which uses the generator that was used when CMake was executed.This PR implements this for the yaml-cpp build; the rest of the components do not use CMake and are provided with Makefiles, so work correctly.
(aside: I happen to know the person who wrote the original script - it is a small world!)