We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b30ba3 commit 6f0ba27Copy full SHA for 6f0ba27
CMakeLists.txt
@@ -1,4 +1,5 @@
1
# Copyright (c) 2020-2025 Intel Corporation
2
+# Copyright (c) 2026 UXL Foundation Contributors
3
#
4
# Licensed under the Apache License, Version 2.0 (the "License");
5
# you may not use this file except in compliance with the License.
@@ -256,6 +257,9 @@ if (TBB_ENABLE_IPO AND BUILD_SHARED_LIBS AND NOT ANDROID_PLATFORM AND NOT TBB_SA
256
257
cmake_policy(SET CMP0069 NEW)
258
include(CheckIPOSupported)
259
check_ipo_supported(RESULT TBB_IPO_PROPERTY)
260
+ if (NOT TBB_IPO_PROPERTY)
261
+ message(WARNING "IPO disabled: not supported by this compiler.")
262
+ endif()
263
else()
264
set(TBB_IPO_FLAGS TRUE)
265
endif()
0 commit comments