system/Clock: compile only on Windows
This commit is contained in:
parent
88d5347d94
commit
25da798e7a
|
@ -1,6 +1,5 @@
|
||||||
system_sources = [
|
system_sources = [
|
||||||
'EventPipe.cxx',
|
'EventPipe.cxx',
|
||||||
'Clock.cxx',
|
|
||||||
]
|
]
|
||||||
|
|
||||||
if host_machine.system() == 'linux'
|
if host_machine.system() == 'linux'
|
||||||
|
@ -12,6 +11,12 @@ if host_machine.system() == 'linux'
|
||||||
]
|
]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if host_machine.system() == 'windows'
|
||||||
|
system_sources += [
|
||||||
|
'Clock.cxx',
|
||||||
|
]
|
||||||
|
endif
|
||||||
|
|
||||||
system = static_library(
|
system = static_library(
|
||||||
'system',
|
'system',
|
||||||
system_sources,
|
system_sources,
|
||||||
|
|
Loading…
Reference in New Issue