mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-22 22:48:42 +08:00
17 lines
520 B
Diff
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
|