mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 02:26:16 +00:00
cmake: Handle multiple include of compiler flags
This commit is contained in:
parent
85c99649ba
commit
d32c733ff3
|
@ -1,6 +1,10 @@
|
|||
# Copyright 2018-2023, Collabora, Ltd.
|
||||
# SPDX-License-Identifier: BSL-1.0
|
||||
|
||||
if(TARGET xrt-optimized-math)
|
||||
return()
|
||||
endif()
|
||||
|
||||
# Target used for applying more aggressive optimizations to math-heavy code
|
||||
add_library(xrt-optimized-math INTERFACE)
|
||||
|
||||
|
|
Loading…
Reference in a new issue