Changed order of statementts in CMakeLists.txt