changed to CMake