diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 2eafcfc0a1..a90cf83683 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -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 \nint main() { return 0; }\n") + file(WRITE "${CMAKE_BINARY_DIR}/try_cufile.cpp" "#include \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)