Reorganising build.gradle for CUDA 12

Signed-off-by: brian <brian@brutex.de>
CUDA12
Brian Rosenberger 2023-08-28 15:30:00 +02:00
parent 3d29f98246
commit 4d582263f0
2 changed files with 2 additions and 2 deletions

View File

@ -20,8 +20,7 @@ dependencies {
implementation group: "org.bytedeco", name: "javacpp", classifier: buildTarget
implementation projects.cavisNative.cavisNativeCudaPresets
//implementation name: "cavis-native:cavis-native-lib", configuration: "cuda"
implementation projects.cavisNative.cavisNativeLib
implementation(project(":cavis-native:cavis-native-lib")) {
capabilities {
requireCapability("${project.group}:cavis-native-lib-cuda-support:${project.version}")

View File

@ -25,6 +25,7 @@ set(FLATBUFFERS_BUILD_FLATC "OFF" CACHE STRING "Hack to disable flatc build" FOR
set(CMAKE_CXX_STANDARD 14)
set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)
#///////////////////////////////////////////////////////////////////////////////
# genCompilation: Generates cpp, cu files