Skip to content

Commit

Permalink
[SYCL] Build sycl/tools with same CXX STD settings as set for sycl (#…
Browse files Browse the repository at this point in the history
…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]>
  • Loading branch information
v-klochkov authored Jul 31, 2020
1 parent df6d715 commit dd53104
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sycl/tools/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

add_subdirectory(sycl-ls)

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

0 comments on commit dd53104

Please sign in to comment.