Removed a leftover $\{\} in an if-statement within cmakelist