mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 13:01:42 +00:00
Changed: #1152 FindLibwww does not make all needed libs link to ryzom_client
This commit is contained in:
parent
23cb599505
commit
a3346aee4c
1 changed files with 3 additions and 3 deletions
|
@ -68,7 +68,7 @@ MACRO(CHECK_LINKED_LIBRARY MYLIBRARY OTHERLIBRARY LIBRARY_FOUND)
|
|||
IF(OTOOL_LIBRARY MATCHES "${LIBNAME}")
|
||||
SET(${LIBRARY_FOUND} TRUE)
|
||||
MESSAGE(STATUS "Library ${LIBNAME} already linked to ${${MYLIBRARY}}")
|
||||
ENDIF(NOT OTOOL_LIBRARY MATCHES "${LIBNAME}")
|
||||
ENDIF(OTOOL_LIBRARY MATCHES "${LIBNAME}")
|
||||
ENDIF(CMAKE_OTOOL)
|
||||
ELSEIF(UNIX)
|
||||
IF(CMAKE_OBJDUMP)
|
||||
|
@ -76,9 +76,9 @@ MACRO(CHECK_LINKED_LIBRARY MYLIBRARY OTHERLIBRARY LIBRARY_FOUND)
|
|||
# TODO: under Solaris use dump -Lv <lib>
|
||||
# Use objdump to check if a library is linked to another library
|
||||
EXEC_PROGRAM(${CMAKE_OBJDUMP} ARGS "-p ${${MYLIBRARY}} | grep ${LIBNAME}" OUTPUT_VARIABLE OBJDUMP_LIBRARY)
|
||||
IF(OBJDUMP_LIBRARY MATCHES "NEEDED")
|
||||
IF(NOT OBJDUMP_LIBRARY MATCHES "NEEDED")
|
||||
SET(${LIBRARY_FOUND} TRUE)
|
||||
ENDIF(OBJDUMP_LIBRARY MATCHES "NEEDED")
|
||||
ENDIF(NOT OBJDUMP_LIBRARY MATCHES "NEEDED")
|
||||
ENDIF(CMAKE_OBJDUMP)
|
||||
ENDIF(WIN32)
|
||||
ENDMACRO(CHECK_LINKED_LIBRARY)
|
||||
|
|
Loading…
Reference in a new issue