mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 07:20:10 +01:00
meson: don't look for rt on windows
v6: - Minor refactor Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> Acked-by: Kristian H. Kristensen <hoegsberg@google.com>
This commit is contained in:
parent
e3f5c3232c
commit
81d44c01ee
1 changed files with 1 additions and 1 deletions
|
|
@ -1238,7 +1238,7 @@ elif with_dri_i965 and with_shader_cache
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Determine whether or not the rt library is needed for time functions
|
# Determine whether or not the rt library is needed for time functions
|
||||||
if cc.has_function('clock_gettime')
|
if host_machine.system() == 'windows' or cc.has_function('clock_gettime')
|
||||||
dep_clock = null_dep
|
dep_clock = null_dep
|
||||||
else
|
else
|
||||||
dep_clock = cc.find_library('rt')
|
dep_clock = cc.find_library('rt')
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue