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})