Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ELSEIF(APPLE)
- SET(CMAKE_OTOOL nm)
- IF(CMAKE_OTOOL)
- # Use otool to check if a library is using an external symbol
- EXEC_PROGRAM(${CMAKE_OTOOL} ARGS " ${${MYLIBRARY}} | grep ${SYMBOL}" OUTPUT_VARIABLE OTOOL_SYMBOL)
- IF(NOT OTOOL_SYMBOL MATCHES " U ")
- SET(${SYMBOL_FOUND} TRUE)
- ENDIF(NOT OTOOL_SYMBOL MATCHES " U ")
- ENDIF(CMAKE_OTOOL)
- ELSEIF(UNIX)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement