提交 3839c904 编写于 作者: M Matt Pharr

CMakeLists.txt: Use NO_DEFAULT_PATH when looking for bin2c

Issue #105.
上级 91492135
......@@ -231,7 +231,8 @@ if (CMAKE_CUDA_COMPILER)
find_program (BIN2C
NAMES bin2c
PATHS ${cuda_compiler_bin}
DOC "Path to the CUDA SDK bin2c executable.")
DOC "Path to the CUDA SDK bin2c executable."
NO_DEFAULT_PATH)
if (NOT BIN2C)
message (FATAL_ERROR
"bin2c not found:\n"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册