cudnn-frontend icon indicating copy to clipboard operation
cudnn-frontend copied to clipboard

Fix incorrect usage of CMAKE_{SOURCE,BINARY}_DIR

Open junaire opened this issue 6 months ago • 1 comments

When importing cudnn-frontend as a 3rd party library using FetchContent, cmake incorrectly parse the file path. This is because we incorrectly using CMAKE_SOURCE_DIR variable, which should be PROJECT_SOURCE_DIR (The former one refers to the top-level source directory that contains a CMakeLists.txt, while the latter refers to the source directory of the most recent project() command

junaire avatar Jul 28 '24 14:07 junaire