fixed bugs in CMakeLists.txt
fix on unresolved quat-type