From 041968f38a830def13c0aad2070297817340cda2 Mon Sep 17 00:00:00 2001 From: Francesco Gatti Date: Sat, 29 Jun 2019 11:08:30 +0200 Subject: [PATCH] cmake fix --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e33f1e..acf3613 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,8 +15,8 @@ endif() #------------------------------------------------------------------------------- # CUDA #------------------------------------------------------------------------------- -SET(CUDA_SEPARABLE_COMPILATION ON) find_package(CUDA 9.0 REQUIRED) +SET(CUDA_SEPARABLE_COMPILATION ON) #set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -arch=sm_30 --compiler-options '-fPIC'") # compile Discovery only if TensorRT is installed