瀏覽代碼

windows openmp fix

Nicolas Winkler 5 年之前
父節點
當前提交
97c251e2f4
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      CMakeLists.txt

+ 1 - 0
CMakeLists.txt

@@ -48,6 +48,7 @@ endif(Boost_FOUND)
 
 if(OpenMP_CXX_FOUND)
     target_link_libraries(Almond PUBLIC OpenMP::OpenMP_CXX)
+    target_link_libraries(Almond PUBLIC ${OpenMP_CXX_FLAGS})
 endif()