mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
Changed: #1152 FindLibwww does not make all needed libs link to ryzom_client
This commit is contained in:
parent
a02356ccab
commit
0b8594f98d
1 changed files with 2 additions and 2 deletions
|
@ -28,9 +28,9 @@ MACRO(CHECK_UNDEFINED_SYMBOL MYLIBRARY SYMBOL SYMBOL_FOUND)
|
|||
IF(CMAKE_NM)
|
||||
# Use nm to check if a library is using an external symbol
|
||||
EXEC_PROGRAM(${CMAKE_NM} ARGS "-gu ${${MYLIBRARY}} | grep ${SYMBOL}" OUTPUT_VARIABLE NM_SYMBOL)
|
||||
IF(NOT NM_SYMBOL MATCHES " U ")
|
||||
IF(NOT NM_SYMBOL MATCHES ${SYMBOL})
|
||||
SET(${SYMBOL_FOUND} FALSE)
|
||||
ENDIF(NOT NM_SYMBOL MATCHES " U ")
|
||||
ENDIF(NOT NM_SYMBOL MATCHES ${SYMBOL})
|
||||
ENDIF(CMAKE_NM)
|
||||
ELSEIF(UNIX)
|
||||
IF(CMAKE_OBJDUMP)
|
||||
|
|
Loading…
Reference in a new issue