move cmake into the library
test CMake integration with fixed test project
move find algorithms to the library