bug fix on cmakelists