Skip to content

Commit

Permalink
fix linux library dir
Browse files Browse the repository at this point in the history
  • Loading branch information
FSSRepo committed Mar 24, 2024
1 parent 7c28e0f commit 0a13dfe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,12 @@ if (LLAMA_CUBLAS)

find_package(CUDAToolkit)
if (CUDAToolkit_FOUND)
link_directories(${FLASH_DIR}/build/Release)
if (WIN32)
link_directories(${FLASH_DIR}/build/Release)
else()
link_directories(${FLASH_DIR}/build)
endif()

message(STATUS "cuBLAS found")

enable_language(CUDA)
Expand Down

0 comments on commit 0a13dfe

Please sign in to comment.