Skip to content

Commit

Permalink
add rt to CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaGuarracino committed Jul 8, 2022
1 parent c5882a1 commit 0d121bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ target_link_libraries(wfmash
pthread
libwflign_static
hts
rt
wfacpp
jemalloc
z
Expand Down
2 changes: 1 addition & 1 deletion src/common/wflign/deps/WFA/system/profiler_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void timer_get_system_time(struct timespec *ts) {
ts->tv_sec = mts.tv_sec;
ts->tv_nsec = mts.tv_nsec;
#else
//clock_gettime(CLOCK_REALTIME,ts);
clock_gettime(CLOCK_REALTIME,ts);
#endif
}
/*
Expand Down

0 comments on commit 0d121bc

Please sign in to comment.