Files @ 0729d364ca25
Branch filter:

Location: libtransport.git/cmake_modules/yahoo2Config.cmake

Vladimír Matěna
Fix double free in DummyConnectionServer

Do not create shared ptr from this as this lead to double free in
UserRegistryTest::login test. Shared ptr was needed to set event
owner in acceptConnection, actually it is never needed as events
are never filtered by owner. Thus it was removed and there is no
need to create shared ptr from this.
FIND_PATH(YAHOO2_INCLUDE_DIR yahoo2.h PATH_SUFFIXES libyahoo2)
MARK_AS_ADVANCED(YAHOO2_INCLUDE_DIR)

FIND_LIBRARY(YAHOO2_LIBRARY yahoo2 )
MARK_AS_ADVANCED(YAHOO2_LIBRARY)

if(YAHOO2_LIBRARY AND YAHOO2_INCLUDE_DIR)
	set( YAHOO2_FOUND 1 )
	message(STATUS "Found libyahoo2: ${YAHOO2_LIBRARY}, ${YAHOO2_INCLUDE_DIR}")
else()
	message(STATUS "Could NOT find libyahoo2 library")
endif()