From 3839c9040dc2d4753d29dbb24ccae12da3069bbe Mon Sep 17 00:00:00 2001 From: Matt Pharr Date: Wed, 17 Feb 2021 13:53:03 -0800 Subject: [PATCH] CMakeLists.txt: Use NO_DEFAULT_PATH when looking for bin2c Issue #105. --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9a31918..c8e6012 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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" -- GitLab