Skip to content

Commit

Permalink
[build] clang now use omp to link to openmp
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoulon committed Apr 22, 2016
1 parent 1865fa7 commit 077ea51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ IF(OpenMVG_USE_OPENMP)
IF (NOT MSVC)
IF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
# for those using the clang with OpenMP support
LIST(APPEND OPENMVG_LIBRARY_DEPENDENCIES iomp)
LIST(APPEND OPENMVG_LIBRARY_DEPENDENCIES omp)
ELSE()
LIST(APPEND OPENMVG_LIBRARY_DEPENDENCIES gomp)
ENDIF()
Expand Down

0 comments on commit 077ea51

Please sign in to comment.