mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-11 17:59:02 +00:00
Changed: #1233 CMake doesn't find libwww under linux
This commit is contained in:
parent
89a224255d
commit
6dfdbeda8f
1 changed files with 2 additions and 2 deletions
|
@ -30,9 +30,9 @@ MACRO(CHECK_UNDEFINED_SYMBOL MYLIBRARY SYMBOL SYMBOL_FOUND)
|
||||||
IF(CMAKE_OBJDUMP)
|
IF(CMAKE_OBJDUMP)
|
||||||
# Use objdump to check if a library is using an external symbol
|
# Use objdump to check if a library is using an external symbol
|
||||||
EXEC_PROGRAM(${CMAKE_OBJDUMP} ARGS "-T ${${MYLIBRARY}} | grep ${SYMBOL}" OUTPUT_VARIABLE OBJDUMP_SYMBOL)
|
EXEC_PROGRAM(${CMAKE_OBJDUMP} ARGS "-T ${${MYLIBRARY}} | grep ${SYMBOL}" OUTPUT_VARIABLE OBJDUMP_SYMBOL)
|
||||||
IF(NOT OBJDUMP_SYMBOL MATCHES "UND")
|
IF(OBJDUMP_SYMBOL MATCHES "UND")
|
||||||
SET(${SYMBOL_FOUND} FALSE)
|
SET(${SYMBOL_FOUND} FALSE)
|
||||||
ENDIF(NOT OBJDUMP_SYMBOL MATCHES "UND")
|
ENDIF(OBJDUMP_SYMBOL MATCHES "UND")
|
||||||
ENDIF(CMAKE_OBJDUMP)
|
ENDIF(CMAKE_OBJDUMP)
|
||||||
ENDIF(WIN32)
|
ENDIF(WIN32)
|
||||||
ENDMACRO(CHECK_UNDEFINED_SYMBOL)
|
ENDMACRO(CHECK_UNDEFINED_SYMBOL)
|
||||||
|
|
Loading…
Reference in a new issue