Update CMakeLists.txt

Separate C++/CX option