Skip to content

Commit dd53104

Browse files
authored
[SYCL] Build sycl/tools with same CXX STD settings as set for sycl (#2225)
Having differnet CMAKE_CXX_STANDARD/CMAKE_CXX_STANDARD_REQUIRED/CMAKE_CXX_EXTENSIONS may lead to errors during build of sycl/tools. Removing explicit setting of those 3 parameters in sycl/tool/CMakeLists.txt in this patch syncs the build settings of sycl/tools and sycl libraries. Signed-off-by: Vyacheslav N Klochkov <[email protected]>
1 parent df6d715 commit dd53104

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

sycl/tools/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
set(CMAKE_CXX_STANDARD 11)
2-
set(CMAKE_CXX_STANDARD_REQUIRED ON)
3-
set(CMAKE_CXX_EXTENSIONS OFF)
4-
51
add_subdirectory(sycl-ls)
62

73
# TODO: move each tool in its own sub-directory

0 commit comments

Comments
 (0)