Skip to content
Merged
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: 2 additions & 2 deletions dpctl-capi/cmake/modules/FindDPCPP.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ execute_process(
OUTPUT_VARIABLE dpcpp_ver
)

# If dpcpp is found then set then set the package variables
# If dpcpp is found then set the package variables
if(${dpcpp_result} MATCHES "0")
string(REPLACE "\n" ";" DPCPP_VERSION_LIST "${dpcpp_ver}")
list(GET DPCPP_VERSION_LIST 0 dpcpp_ver_line)
Expand Down Expand Up @@ -89,7 +89,7 @@ if(${dpcpp_result} MATCHES "0")

# set package-level variables
set(DPCPP_ROOT ${DPCPP_INSTALL_DIR})
list(POP_FRONT DPCPP_VERSION_LIST DPCPP_VERSION)
list(GET DPCPP_VERSION_LIST 0 DPCPP_VERSION)
set(DPCPP_INCLUDE_DIR ${DPCPP_INSTALL_DIR}/include)
set(DPCPP_SYCL_INCLUDE_DIR ${DPCPP_INSTALL_DIR}/include/sycl)
set(DPCPP_LIBRARY_DIR ${DPCPP_INSTALL_DIR}/lib)
Expand Down