Merge pull request #4296 from Xreki/fix_mac_linking_error

Fix linking error on mac.
update-doc-pybind
Qiao Longfei 8 years ago committed by GitHub
commit 03651b04b4

@ -25,7 +25,7 @@ function(target_circle_link_libraries TARGET_NAME)
endif()
endforeach()
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "AppleClang")
if(IOS AND NOT IOS_ENABLE_BITCODE)
if(NOT IOS_ENABLE_BITCODE)
list(APPEND LIBS "-undefined dynamic_lookup")
endif()
endif()

Loading…
Cancel
Save