diff --git a/runtime/nvqir/cudensitymat/CMakeLists.txt b/runtime/nvqir/cudensitymat/CMakeLists.txt index 38a69559aa..20611b2d6a 100644 --- a/runtime/nvqir/cudensitymat/CMakeLists.txt +++ b/runtime/nvqir/cudensitymat/CMakeLists.txt @@ -19,6 +19,7 @@ find_file(CUDENSITYMAT_INC $ENV{CUQUANTUM_INSTALL_PREFIX}/include /usr/include ENV CPATH + REQUIRED ) message(STATUS "cudensitymat header: ${CUDENSITYMAT_INC}")