vcpkg/ports/uchardet/fix-config-error.patch
JonLiu1993 1c96061099
[uchardet] update to v0.0.8 (#29748)
* [uchardet] update to v0.0.8

* update version

* add license

* update version

* update version

* update version
2023-02-21 08:08:59 -08:00

17 lines
520 B
Diff

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