Error with cmake_parse_arguments building first simulation on Mac

Hey there everyone,

I’m new to the project and trying to setup development on macOS i.e. following setting up the toolchain and making first build.

Now when I try to launch first local simulation with JMAVSim (with: make px4_sitl jmavsim) I get an error that apparently is related to cmake, as following:

– PX4 config file: /Users/gordozo/Sites/Firmware/boards/px4/sitl/default.cmake
CMake Error at cmake/px4_base.cmake:93 (cmake_parse_arguments):
Unknown CMake command “cmake_parse_arguments”.
Call Stack (most recent call first):
cmake/px4_add_board.cmake:132 (px4_parse_function_args)
boards/px4/sitl/default.cmake:2 (px4_add_board)
CMakeLists.txt:215 (include)

– Configuring incomplete, errors occurred!
Error: /Users/gordozo/Sites/Firmware/build/px4_sitl_default is not a directory
make: *** [px4_sitl] Error 1

Does anyone have a tip or ran into the same problem?
I’m sorry if I oversee something obvious, I am new in this project.
Thx in advance.

Kind regards

The question is no longer relevant. I solved the issue.

Seems that the global Cmake terminal command was not up to date with the newly installed version and the symlinks in /usr/local/bin.