cmake: Handle multiple include of compiler flags

This commit is contained in:
Ryan Pavlik committed 2023-08-01 10:43:55 -05:00
1 parent 85c99649ba
commit d32c733ff3
1 file changed
+4
+4
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)