Skip to content

Commit

Permalink
add enable_language(CUDA)
Browse files Browse the repository at this point in the history
  • Loading branch information
a-sevin committed Dec 6, 2020
1 parent 7c400da commit 0579c2d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ set(INCLUDEFILES
printGPUMATMULTCONF.h
)

if(USE_CUDA)
enable_language(CUDA)
endif(USE_CUDA)

if(USE_MAGMA)
find_package(PkgConfig REQUIRED)
pkg_check_modules(MAGMA REQUIRED magma)
Expand All @@ -61,7 +65,7 @@ endif(USE_MAGMA)
# Do not change unless needed
# =====================================================================

project(lib_${LIBNAME}_project C CUDA)
project(lib_${LIBNAME}_project C)

include_directories ("${PROJECT_SOURCE_DIR}/src")
include_directories ("${PROJECT_SOURCE_DIR}/..")
Expand Down

0 comments on commit 0579c2d

Please sign in to comment.