We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cbb916 commit e9933a8Copy full SHA for e9933a8
sycl/CMakeLists.txt
@@ -182,11 +182,10 @@ add_custom_target( sycl-toolchain
182
183
set_target_properties("${SYCLLibrary}" PROPERTIES LINKER_LANGUAGE CXX)
184
185
-# Workaround for bug in GCC version 5.
+# Workaround for bug in GCC version 5 and higher.
186
# More information https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1568899
187
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND
188
- CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 5.0 AND
189
- CMAKE_CXX_COMPILER_VERSION VERSION_LESS 6.0)
+ CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 5.0)
190
target_link_libraries("${SYCLLibrary}" gcc_s gcc)
191
endif()
192
0 commit comments