tried fixing cmake lists to avoid issues with subproject dependancies.