vcpkg/ports/libharu/fix-build-fail.patch
JackBoosY 3cc4de62c1 [libharu]fix build failure. (#5628)
* [libharu]fix build failure.

* [libharu]Comment more code
2019-03-30 23:38:36 -07:00

22 lines
697 B
Diff

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 9d2a604..be8e964 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -79,11 +79,11 @@ if(LIBHPDF_STATIC)
LIBRARY DESTINATION lib
RUNTIME DESTINATION bin
)
- if(WIN32 AND NOT CYGWIN)
- foreach(addlib ${ADDITIONAL_LIBRARIES})
- install(FILES ${addlib} DESTINATION lib)
- endforeach(addlib)
- endif(WIN32 AND NOT CYGWIN)
+ #if(WIN32 AND NOT CYGWIN)
+ #foreach(addlib ${ADDITIONAL_LIBRARIES})
+ #install(FILES ${addlib} DESTINATION lib)
+ #endforeach(addlib)
+ #endif(WIN32 AND NOT CYGWIN)
endif(LIBHPDF_STATIC)
if(LIBHPDF_SHARED)
add_library(${LIBHPDF_NAME} SHARED ${LIBHPDF_SRCS})