Wanted version for C and C++ can be specified globally using respectively variables CMAKE_C_STANDARD (accepted values are 98, 99 and 11) and CMAKE_CXX_STANDARD (accepted values are 98, 11 and 14):
set(CMAKE_C_STANDARD 99)
set(CMAKE_CXX_STANDARD 11)
These will add the needed compile options on t...