Files @ d11fdaf3e279
Branch filter:

Location: libtransport.git/cmake_modules/yahoo2Config.cmake - annotation

Sebastian Krzyszkowiak
systemd: wait for network-online.target and add WantedBy=multi-user.target

Thanks to that, "systemctl enable spectrum2" does what expected, that is
makes Spectrum2 start on boot. Also, network.target doesn't tell anything
meaningful - it's just that the network stack is available.
Adding network-online.target makes sure that the network interfaces are up
before starting Spectrum2.
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()