Skip to content

Commit f1e8fe8

Browse files
authored
[rt] Add requirement to find cudensitymat.h (#2569)
When bulding the `cudensitymat` backend, finding this header is a requirment. The build will fail otherwise. Signed-off-by: boschmitt <[email protected]>
1 parent d893046 commit f1e8fe8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

runtime/nvqir/cudensitymat/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ find_file(CUDENSITYMAT_INC
1919
$ENV{CUQUANTUM_INSTALL_PREFIX}/include
2020
/usr/include
2121
ENV CPATH
22+
REQUIRED
2223
)
2324

2425
message(STATUS "cudensitymat header: ${CUDENSITYMAT_INC}")

0 commit comments

Comments
 (0)