# Use PhASAR as a Library via FetchContent

This small example shows how you can setup a CMake project that uses PhASAR as a library.
This guide does not assume that you have installed PhASAR already.
Instead it will download PhASAR at configure-time and build the necessary parts together with your project as-if it was a sub-module.
