diff --git a/CMakeLists.txt b/CMakeLists.txt index d378f03..78ebf78 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,7 +19,7 @@ if(MSVC) add_compile_options(/openmp:llvm) else() add_compile_options(-fopenmp) - link_libraries(gomp) + add_link_options(-fopenmp) endif()