Add Spice as a sub folder, either manually by copy-pasting it (after obtaining it thru cloning or downloading the zipped version of this repository) or by adding it as a git submodule.
Inside the CMakeLists.txt, use add_subdirectory() to add Spice and link against it using target_link_libraries().
To make sure everything works, you should copy-paste one of Spice's samples into your own application and run it.
This requires the following steps:
add_subdirectory()
to add Spice and link against it usingtarget_link_libraries()
.