cyang-kth / fmm

Fast map matching, an open source framework in C++
https://fmm-wiki.github.io/
Apache License 2.0
892 stars 215 forks source link

Add print information about the compiler and add C flags to be std11 #128

Closed cyang-kth closed 3 years ago

cyang-kth commented 3 years ago

On some old system, the CC used for build h3 does not activate the std11 flag.

cyang-kth commented 3 years ago

It seems that this line should be added for some old Ubuntu system:

set(CMAKE_C_FLAGS "-std=c11")
cyang-kth commented 3 years ago

This issue is due to the too old version of cmake<3.0, which is skipped.