Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions libsyclinterface/cmake/modules/FindIntelSyclCompiler.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,12 @@ if(${clangxx_result} MATCHES "0")
${VERSION_STRING}
)

message(STATUS "IntelSyclCompiler version: ${IntelSyclCompiler_VERSION}")
message(STATUS "IntelSyclCompiler_VERSION_LIST: ${IntelSyclCompiler_VERSION_LIST}")

# Split out the version into major, minor an patch
string(REPLACE "." ";" IntelSyclCompiler_VERSION_LIST1 "${IntelSyclCompiler_VERSION}")
message(STATUS "IntelSyclCompiler_VERSION_LIST1: ${IntelSyclCompiler_VERSION_LIST1}")
list(GET IntelSyclCompiler_VERSION_LIST1 0 IntelSyclCompiler_VERSION_MAJOR)
list(GET IntelSyclCompiler_VERSION_LIST1 1 IntelSyclCompiler_VERSION_MINOR)
list(GET IntelSyclCompiler_VERSION_LIST1 2 IntelSyclCompiler_VERSION_PATCH)
Expand Down
Loading