Yes, build it with the "-DBUNDLE=miner" cmake param, it'll include the code for CPU mining.
Then when you run the "ethminer" executable, use the "-C" runtime param so it executes CPU mining.
I managed to compile it but for some weird reason it could not connect to the pool while using the stratum. I ended up finding a stratum proxy which fixed my issue.