| … | … | @@ -9,6 +9,8 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/") |
| 9 | 9 | # --- custom targets: --- |
| 10 | 10 | INCLUDE( cmake/Modules/TargetDistclean.cmake OPTIONAL) |
| 11 | 11 | |
| 12 | set (CMAKE_C_STANDARD 99) | |
| 13 | ||
| 12 | 14 | if (NOT CMAKE_BUILD_TYPE) |
| 13 | 15 | # set(CMAKE_BUILD_TYPE RelWithDebInfo) |
| 14 | 16 | set(CMAKE_BUILD_TYPE Release) |
| … | … | @@ -54,7 +54,7 @@ |
| 54 | 54 | * |
| 55 | 55 | */ |
| 56 | 56 | |
| 57 | #include <sys/time.h> | |
| 57 | #include <time.h> | |
| 58 | 58 | #include "timer.h" |
| 59 | 59 | |
| 60 | 60 | void cpu_timer_start(struct timespec *tstart_cpu) |