From 878d3c05747d5c9c207562d05eef5e2345d82b00 Mon Sep 17 00:00:00 2001 From: Zengtudor Date: Sun, 22 Sep 2024 17:11:31 +0800 Subject: [PATCH] update --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f7394fb..e1b90fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,8 +19,10 @@ if(MSVC) add_compile_options(/openmp:llvm) else() add_compile_options(-fopenmp) + link_libraries(gomp) endif() + file(GLOB SRC CONFIGURE_DEPENDS src/*.cpp src/*.h src/*.hpp) add_executable(${PROJECT_NAME}_bin ${SRC})