mirror of https://github.com/PurpleI2P/i2pd.git
I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
592 B
26 lines
592 B
10 years ago
|
# - Find MINIUPNPC
|
||
|
|
||
|
if(MINIUPNPC_INCLUDE_DIR)
|
||
|
set(MINIUPNPC_FOUND TRUE)
|
||
|
|
||
|
else()
|
||
|
find_path(MINIUPNPC_INCLUDE_DIR miniupnpc.h
|
||
|
/usr/include/miniupnpc
|
||
|
/usr/local/include/miniupnpc
|
||
|
/opt/local/include/miniupnpc
|
||
|
$ENV{SystemDrive}/miniupnpc
|
||
|
${PROJECT_SOURCE_DIR}/../../miniupnpc
|
||
|
)
|
||
|
|
||
|
if(MINIUPNPC_INCLUDE_DIR)
|
||
|
set(MINIUPNPC_FOUND TRUE)
|
||
|
message(STATUS "Found MiniUPnP headers: ${MINIUPNPC_INCLUDE_DIR}")
|
||
|
else()
|
||
|
set(MINIUPNPC_FOUND FALSE)
|
||
|
message(STATUS "MiniUPnP not found.")
|
||
|
endif()
|
||
|
|
||
|
mark_as_advanced(MINIUPNPC_INCLUDE_DIR)
|
||
|
|
||
|
endif()
|