Skip to content

Commit 2843aaa

Browse files
Use \ instead of string(CONCAT)
1 parent 44f80a2 commit 2843aaa

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

CMakeLists.txt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,13 @@ option(DPCTL_GENERATE_COVERAGE_FOR_PYBIND11_EXTENSIONS
2525
"Build dpctl pybind11 offloading extensions with coverage instrumentation"
2626
OFF
2727
)
28-
string(CONCAT _desc_target_cuda
29-
"Build DPCTL to target CUDA device. "
30-
"Set to a truthy value (e.g., ON, TRUE) to use default architecture (sm_50), "
31-
"or to a specific architecture like sm_80."
32-
)
28+
3329
set(DPCTL_TARGET_CUDA
3430
""
3531
CACHE STRING
36-
"${_desc_target_cuda}"
32+
"Build DPCTL to target CUDA device. \
33+
Set to a truthy value (e.g., ON, TRUE) to use default architecture (sm_50), \
34+
or to a specific architecture like sm_80."
3735
)
3836
set(DPCTL_TARGET_HIP
3937
""

0 commit comments

Comments
 (0)