소스 검색

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