mirror of
https://github.com/lbgos/rift-s-linux.git
synced 2026-10-24 02:01:15 +02:00
cmake: Handle multiple include of compiler flags
This commit is contained in:
1 parent
85c99649ba
commit
d32c733ff3
1 file changed
+4
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user