提交 4b9c8a90 编写于 作者: M Marius Muja

Merge pull request #207 from xantares/patch-2

link gomp only if openmp found
......@@ -89,9 +89,9 @@ if (BUILD_C_BINDINGS)
else()
add_library(flann SHARED ${C_SOURCES})
if(MINGW)
target_link_libraries(flann -lgomp)
endif(MINGW)
if(MINGW AND OPENMP_FOUND)
target_link_libraries(flann gomp)
endif()
endif()
set_target_properties(flann PROPERTIES
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册