From efcc6161109c477ea75213ddc1808731bc52730d Mon Sep 17 00:00:00 2001 From: Cristian Morales Vega Date: Tue, 24 Nov 2020 16:37:35 +0000 Subject: [PATCH] cmake: remove wrong target_include_directories() --- miniupnpc/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/miniupnpc/CMakeLists.txt b/miniupnpc/CMakeLists.txt index 19d0b9c..5efe10d 100644 --- a/miniupnpc/CMakeLists.txt +++ b/miniupnpc/CMakeLists.txt @@ -116,7 +116,6 @@ if (UPNPC_BUILD_STATIC) set_target_properties (libminiupnpc-static PROPERTIES OUTPUT_NAME "miniupnpc") endif() target_link_libraries (libminiupnpc-static PRIVATE miniupnpc-private) - target_include_directories(libminiupnpc-static INTERFACE ../${CMAKE_CURRENT_SOURCE_DIR}) target_compile_definitions(libminiupnpc-static PUBLIC MINIUPNP_STATICLIB) if (NOT UPNPC_NO_INSTALL) @@ -141,7 +140,6 @@ if (UPNPC_BUILD_SHARED) target_link_libraries (libminiupnpc-shared PRIVATE miniupnpc-private) target_compile_definitions(libminiupnpc-shared PRIVATE MINIUPNP_EXPORTS) - target_include_directories(libminiupnpc-shared INTERFACE ../${CMAKE_CURRENT_SOURCE_DIR}) if (WIN32) target_link_libraries(libminiupnpc-shared INTERFACE ws2_32 iphlpapi) endif()