yahoo2Config
This commit is contained in:
parent
b7e9087ae1
commit
cc1d4ac9db
1 changed files with 12 additions and 0 deletions
12
cmake_modules/yahoo2Config.cmake
Normal file
12
cmake_modules/yahoo2Config.cmake
Normal file
|
@ -0,0 +1,12 @@
|
|||
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()
|
Loading…
Add table
Reference in a new issue