From 09859e872c7da9916329cd48f75a83df609ee63d Mon Sep 17 00:00:00 2001 From: AndreaRigoni Date: Fri, 27 Mar 2026 01:49:27 +0000 Subject: [PATCH] fix build --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c6e0d82..59eb58f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,7 @@ endif() project(uLib) # CUDA Toolkit seems to be missing locally. Toggle ON if nvcc is made available. -option(USE_CUDA "Enable CUDA support" ON) +option(USE_CUDA "Enable CUDA support" OFF) if(USE_CUDA) set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -allow-unsupported-compiler") set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} --expt-relaxed-constexpr") @@ -115,7 +115,7 @@ set(Boost_USE_MULTITHREADED ON) set(Boost_USE_STATIC_RUNTIME OFF) message(STATUS "CMAKE_PREFIX_PATH is ${CMAKE_PREFIX_PATH}") -find_package(HDF5 REQUIRED CONFIG) +find_package(HDF5 REQUIRED) find_package(Boost 1.45.0 COMPONENTS program_options serialization unit_test_framework REQUIRED) include_directories(${Boost_INCLUDE_DIRS})