Makes the find module do all the work of properly setting up the target instead of needing to do it in the main CMakeLists file.