-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FindCUDA: Resolve a host compiler symlink only if it is Apple cc -> c…
…lang Otherwise using a "cc -> ccache" or similar symlink as the compiler causes FindCUDA to select ccache as the host compiler. Update the logic added by commit v3.1.0-rc1~354^2 (FindCUDA: Fix OSX Clang & no C language enabled, 2014-06-12) to apply only in the specific case it is needed.
- Loading branch information
1 parent
03e2248
commit b405f01
Showing
1 changed file
with
23 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b405f01
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the update, this caused trouble cross-compiling in cray environments and this fixes it.
(in the cray environment, the simlink must not be resolved, aka
ABSOLUTE
instead ofREALPATH
)the problem was introduced in 32bcec5#diff-4740178b5defb85b802090e7f04ae7e2
and exists in all CMake releases from
3.1.0
to the latest3.3.1
release