don't build any miniupnpc executables

This commit is contained in:
Riccardo Spagni 2016-09-17 10:42:35 +02:00
parent 114e36888b
commit 58abc096f4
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -123,7 +123,7 @@ if (UPNPC_BUILD_STATIC)
target_link_libraries (libminiupnpc-static ${LDLIBS}) target_link_libraries (libminiupnpc-static ${LDLIBS})
set (UPNPC_INSTALL_TARGETS ${UPNPC_INSTALL_TARGETS} libminiupnpc-static) set (UPNPC_INSTALL_TARGETS ${UPNPC_INSTALL_TARGETS} libminiupnpc-static)
set (UPNPC_LIBRARY_TARGET libminiupnpc-static) set (UPNPC_LIBRARY_TARGET libminiupnpc-static)
add_executable (upnpc-static upnpc.c) # add_executable (upnpc-static upnpc.c)
target_link_libraries (upnpc-static LINK_PRIVATE libminiupnpc-static) target_link_libraries (upnpc-static LINK_PRIVATE libminiupnpc-static)
endif (UPNPC_BUILD_STATIC) endif (UPNPC_BUILD_STATIC)