cmake: Handle multiple include of compiler flags

This commit is contained in:
Ryan Pavlik 2023-06-22 16:47:48 -05:00
parent 85c99649ba
commit d32c733ff3

View file

@ -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)