Skip to content

Commit

Permalink
Fixes #563: Now enabling the C++ language for the procject, which is …
Browse files Browse the repository at this point in the history
…necessary for relying on the Threads library
  • Loading branch information
Eyal Rozenberg committed Dec 31, 2023
1 parent d48b1b6 commit 91e6d23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "lib/")
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "lib/")

find_package(CUDAToolkit 9.0 REQUIRED)
enable_language(CXX) # required for using Threads
find_package(Threads REQUIRED)
if(CUDAToolkit_VERSION VERSION_GREATER_EQUAL 11.1)
foreach(tgt in nvptxcompiler nvptxcompiler_static)
Expand Down

0 comments on commit 91e6d23

Please sign in to comment.