microsoft/onnxruntime-extensions

Public

mirrored from https://github.com/microsoft/onnxruntime-extensionsAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
skottmckay/BuildInfra_AndTestImageLibs

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

cmake/externals/libjpeg-turbo.patch

13lines · modecode

1diff --git a/CMakeLists.txt b/CMakeLists.txt
2index cca29663..263faaac 100644
3--- a/CMakeLists.txt
4+++ b/CMakeLists.txt
5@@ -606,7 +606,7 @@ if(WITH_TURBOJPEG)
6 set(TJMAPFILE ${CMAKE_CURRENT_SOURCE_DIR}/turbojpeg-mapfile.jni)
7 endif()
8 if(MSVC)
9- configure_file(${CMAKE_SOURCE_DIR}/win/turbojpeg.rc.in
10+ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/win/turbojpeg.rc.in
11 ${CMAKE_BINARY_DIR}/win/turbojpeg.rc)
12 set(TURBOJPEG_SOURCES ${TURBOJPEG_SOURCES}
13 ${CMAKE_BINARY_DIR}/win/turbojpeg.rc)
14