From 83f82697c0c82a16e28b8dd458ad43c547f1fdfa Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 15 Jan 2011 13:05:38 +0100 Subject: [PATCH] Changed: #1233 CMake doesn't find libwww under linux --- code/CMakeModules/CheckDepends.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/CMakeModules/CheckDepends.cmake b/code/CMakeModules/CheckDepends.cmake index 9ebf977c8..c7e691cc8 100644 --- a/code/CMakeModules/CheckDepends.cmake +++ b/code/CMakeModules/CheckDepends.cmake @@ -30,9 +30,9 @@ MACRO(CHECK_UNDEFINED_SYMBOL MYLIBRARY SYMBOL SYMBOL_FOUND) IF(CMAKE_OBJDUMP) # 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) - IF(NOT OBJDUMP_SYMBOL MATCHES "UND") + IF(OBJDUMP_SYMBOL MATCHES "UND") SET(${SYMBOL_FOUND} FALSE) - ENDIF(NOT OBJDUMP_SYMBOL MATCHES "UND") + ENDIF(OBJDUMP_SYMBOL MATCHES "UND") ENDIF(CMAKE_OBJDUMP) ENDIF(WIN32) ENDMACRO(CHECK_UNDEFINED_SYMBOL)