Skip to content

Commit

Permalink
noexist
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleFromNVIDIA committed Nov 8, 2024
1 parent 0025fbf commit e7435b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ else()
get_filename_component(_cufile_root "${_cufile_root}" DIRECTORY)
message(WARNING "PREFIX: $ENV{PREFIX}")
message(WARNING "BUILD_PREFIX: $ENV{BUILD_PREFIX}")
file(WRITE "${CMAKE_BINARY_DIR}/try_cufile.cpp" "#include <cufile.h>\nint main() { return 0; }\n")
file(WRITE "${CMAKE_BINARY_DIR}/try_cufile.cpp" "#include <cufile_noexist.h>\nint main() { return 0; }\n")
try_compile(_try_cufile SOURCES "${CMAKE_BINARY_DIR}/try_cufile.cpp")
message(STATUS "try_compile() result: ${_try_cufile}")
file(READ "${_cufile_root}/include/cufile.h" CUFILE_H_STR)
Expand Down

0 comments on commit e7435b9

Please sign in to comment.