diff --git a/cavis-native/cavis-native-jcublas/build.gradle b/cavis-native/cavis-native-jcublas/build.gradle index 990fe5ede..fab5c31d0 100644 --- a/cavis-native/cavis-native-jcublas/build.gradle +++ b/cavis-native/cavis-native-jcublas/build.gradle @@ -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}") diff --git a/cavis-native/cavis-native-lib/CMakeLists.txt b/cavis-native/cavis-native-lib/CMakeLists.txt index 05584fb76..271c5f3bd 100644 --- a/cavis-native/cavis-native-lib/CMakeLists.txt +++ b/cavis-native/cavis-native-lib/CMakeLists.txt @@ -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