From c1ae7ab057b4dd510752267ef24dcaa225ff414f Mon Sep 17 00:00:00 2001 From: Ali Aghaeifar Date: Tue, 12 Mar 2024 12:36:53 +0100 Subject: [PATCH] u --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 868f775..d1b888f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,10 +35,11 @@ set(CMAKE_CXX_FLAGS "-lboost_program_options") # Add Boost and CUDA include directories include_directories(${Boost_INCLUDE_DIRS} ./include) - # Add CUDA and OpenMP flags set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} ${CUDA_ARCH} -Xcompiler=${OpenMP_CXX_FLAGS}") +set(Boost_USE_STATIC_LIBS OFF) + # Add the executable add_executable(spinwalk ./src/spinwalk.cu ./src/kernels.cu ./src/file_utils.cpp)