mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 05:17:50 +08:00
ab0acc7439
* [poppler] Disable clang-format check * Update port_version check * Add CLANG program * Add clang-format program * Update clang-format and add it to azure-pipelines/linux/provision-image.sh * Update ports/poppler/portfile.cmake * Revert the changes for clang-format
13 lines
710 B
Diff
13 lines
710 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 0b04be7..947d5be 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -532,7 +532,6 @@ if (GPERF AND RUN_GPERF_IF_PRESENT)
|
|
add_custom_command(OUTPUT poppler/${input}.c
|
|
COMMAND ${GPERF} poppler/${input}.gperf > ${CMAKE_CURRENT_BINARY_DIR}/poppler/${input}.c
|
|
COMMAND ${GPERF} poppler/${input}.gperf > ${CMAKE_CURRENT_SOURCE_DIR}/poppler/${input}.pregenerated.c
|
|
- COMMAND clang-format -i ${CMAKE_CURRENT_SOURCE_DIR}/poppler/${input}.pregenerated.c || true
|
|
DEPENDS poppler/${input}.gperf
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|