aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/cmake/external/jpeg.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/contrib/cmake/external/jpeg.cmake')
-rw-r--r--tensorflow/contrib/cmake/external/jpeg.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/cmake/external/jpeg.cmake b/tensorflow/contrib/cmake/external/jpeg.cmake
index 4b6b648950..edef25a35b 100644
--- a/tensorflow/contrib/cmake/external/jpeg.cmake
+++ b/tensorflow/contrib/cmake/external/jpeg.cmake
@@ -44,7 +44,6 @@ if (WIN32)
)
else()
-
ExternalProject_Add(jpeg
PREFIX jpeg
URL ${jpeg_URL}
@@ -57,6 +56,7 @@ else()
${jpeg_BUILD}/configure
--prefix=${jpeg_INSTALL}
--enable-shared=yes
+ CFLAGS=-fPIC
)
endif()