Currently the CMake build is specific for GCC. To make it cross platform it needs to use the find_package() function instead of manually setting GCC compile and link flags.