mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-09 05:34:31 +00:00
Proper miniupnpc CMake detection
This commit is contained in:
parent
94d0915004
commit
7f27580f1b
@ -4,12 +4,12 @@ if(MINIUPNPC_INCLUDE_DIR)
|
|||||||
set(MINIUPNPC_FOUND TRUE)
|
set(MINIUPNPC_FOUND TRUE)
|
||||||
|
|
||||||
else()
|
else()
|
||||||
find_path(MINIUPNPC_INCLUDE_DIR miniupnpc.h
|
find_path(MINIUPNPC_INCLUDE_DIR miniupnpc/miniupnpc.h
|
||||||
/usr/include/miniupnpc
|
/usr/include
|
||||||
/usr/local/include/miniupnpc
|
/usr/local/include
|
||||||
/opt/local/include/miniupnpc
|
/opt/local/include
|
||||||
$ENV{SystemDrive}/miniupnpc
|
$ENV{SystemDrive}
|
||||||
${PROJECT_SOURCE_DIR}/../../miniupnpc
|
${PROJECT_SOURCE_DIR}/../..
|
||||||
)
|
)
|
||||||
|
|
||||||
if(MINIUPNPC_INCLUDE_DIR)
|
if(MINIUPNPC_INCLUDE_DIR)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user