revised CMakelists.txt