As described in previous posts deploying a program that uses an embedded copy of Firebird requires shipping some database server files. For Windows this can be done by the software that creates the installation package. For Linux and OS X it is possible to use the CMake INSTALL command.
This video shows how to install the CMake Command Line Tool (Version 3) on OS X. This is way more complicated than it should be, but this is the way to install the command line tools for CMake on MacOS.
This command creates an INSTALL target in your development tool: buiding that target will copy files to the folder specified by the CMAKEINSTALLPREFIX variable. This can be used to copy the compiled program, the Firebird runtime and other files as needed to the install folder. Then the install folder will contain a ready to run copy of the program, with all the needed files. First use a variable to store the path of the files used by the Firebird embedded server. I keep them in a folder that has the same structure as the deployed files. Here is an example.