mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 14:41:18 +08:00
726c111481
vcpkg will now fail on failure to apply patches except when using `--head`.
15 lines
378 B
Diff
15 lines
378 B
Diff
--- a/tools/libclang/CMakeLists.txt
|
|
+++ b/tools/libclang/CMakeLists.txt
|
|
@@ -56,10 +56,7 @@ if (TARGET clangTidyPlugin)
|
|
endif()
|
|
endif ()
|
|
|
|
-find_library(DL_LIBRARY_PATH dl)
|
|
-if (DL_LIBRARY_PATH)
|
|
- list(APPEND LIBS dl)
|
|
-endif()
|
|
+list(APPEND LIBS "${DL_LIBRARY_PATH}")
|
|
|
|
option(LIBCLANG_BUILD_STATIC
|
|
"Build libclang as a static library (in addition to a shared one)" OFF)
|