vcpkg/ports/uchardet/fix-config-error.patch

17 lines
520 B
Diff
Raw Normal View History

diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt
index 7afad1d..c7a3cd8 100644
--- a/src/tools/CMakeLists.txt
+++ b/src/tools/CMakeLists.txt
@@ -27,10 +27,7 @@ if (GETOPT_INCLUDE_DIR AND GETOPT_LIBRARY)
target_link_libraries(${UCHARDET_BINARY} PRIVATE ${GETOPT_LIBRARY})
endif (GETOPT_INCLUDE_DIR AND GETOPT_LIBRARY)
-target_link_libraries(
- ${UCHARDET_BINARY}
- ${UCHARDET_LIBRARY}
-)
+target_link_libraries(${UCHARDET_BINARY} PRIVATE ${UCHARDET_LIBRARY})
install(
TARGETS