diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 0b3116b89..3c85a29a1 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -49,7 +49,7 @@ option(DISABLE_DEPRECATION_WARNING "Disable warnings generated from deprecated d # Option to enable line info in CUDA device compilation to allow introspection when profiling / memchecking option(CUDA_ENABLE_LINEINFO "Enable the -lineinfo option for nvcc (useful for cuda-memcheck / profiler" OFF) # cudart can be statically linked or dynamically linked. The python ecosystem wants dynamic linking -option(CUDA_STATIC_RUNTIME "Statically link the CUDA toolkit runtime and libraries" OFF) +option(CUDA_STATIC_RUNTIME "Statically link the CUDA toolkit runtime and libraries" ON) option(CUSPATIAL_USE_CUDF_STATIC "Build and statically link cuDF" OFF) option(CUSPATIAL_EXCLUDE_CUDF_FROM_ALL "Exclude cuDF targets from cuSpatial's 'all' target" OFF) diff --git a/cpp/cuproj/CMakeLists.txt b/cpp/cuproj/CMakeLists.txt index 2e1531b09..5b9971a44 100644 --- a/cpp/cuproj/CMakeLists.txt +++ b/cpp/cuproj/CMakeLists.txt @@ -49,7 +49,7 @@ option(DISABLE_DEPRECATION_WARNING "Disable warnings generated from deprecated d # Option to enable line info in CUDA device compilation to allow introspection when profiling / memchecking option(CUDA_ENABLE_LINEINFO "Enable the -lineinfo option for nvcc (useful for cuda-memcheck / profiler" OFF) # cudart can be statically linked or dynamically linked. The python ecosystem wants dynamic linking -option(CUDA_STATIC_RUNTIME "Statically link the CUDA toolkit runtime and libraries" OFF) +option(CUDA_STATIC_RUNTIME "Statically link the CUDA toolkit runtime and libraries" ON) message(STATUS "CUPROJ: Build with NVTX support: ${USE_NVTX}") message(STATUS "CUPROJ: Configure CMake to build tests: ${BUILD_TESTS}")