forked from Lainports/opnsense-ports
11 lines
402 B
Text
11 lines
402 B
Text
--- src/cpp/CMakeLists.txt.orig 2019-04-07 03:21:23 UTC
|
|
+++ src/cpp/CMakeLists.txt
|
|
@@ -25,7 +25,7 @@ if (BUILD_CUDA_LIB)
|
|
else()
|
|
set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS};" )
|
|
endif()
|
|
- cuda_add_library(flann_cuda_s STATIC ${CU_SOURCES})
|
|
+ cuda_add_library(flann_cuda_s SHARED ${CU_SOURCES})
|
|
set_property(TARGET flann_cuda_s PROPERTY COMPILE_DEFINITIONS FLANN_STATIC)
|
|
endif()
|
|
|