commit | 3545adee548437f9f42077635df6e5d5fe34fd28 | [log] [tgz] |
---|---|---|
author | Ozkan Sezer <sezeroz@gmail.com> | Sun Jan 24 17:37:24 2021 +0300 |
committer | Ozkan Sezer <sezeroz@gmail.com> | Sun Jan 24 17:37:24 2021 +0300 |
tree | 4851b1ad2c0caf617c2ec3d7e092d01402822ad4 | |
parent | 239c12cf85db4db383ecabe8ce0496ea34c90889 [diff] |
CMakeLists.txt: fix check_symbol_exists() for clock_gettime_nsec_np
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1b2e74c..6835785 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -873,7 +873,7 @@ else() set(HAVE_ALLOCA_H 1) set(HAVE_ALLOCA 1) - check_symbol_exists(clock_gettime_nsec_np HAVE_CLOCK_GETTIME_NSEC_NP) + check_symbol_exists(clock_gettime_nsec_np "time.h" HAVE_CLOCK_GETTIME_NSEC_NP) endif() check_struct_has_member("struct sigaction" "sa_sigaction" "signal.h" HAVE_SA_SIGACTION)