Explorar o código

windows openmp fix

Nicolas Winkler %!s(int64=5) %!d(string=hai) anos
pai
achega
97c251e2f4
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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()