aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/cmake/external/sqlite.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/contrib/cmake/external/sqlite.cmake')
-rw-r--r--tensorflow/contrib/cmake/external/sqlite.cmake6
1 files changed, 1 insertions, 5 deletions
diff --git a/tensorflow/contrib/cmake/external/sqlite.cmake b/tensorflow/contrib/cmake/external/sqlite.cmake
index 14d8148e6e..8297c60712 100644
--- a/tensorflow/contrib/cmake/external/sqlite.cmake
+++ b/tensorflow/contrib/cmake/external/sqlite.cmake
@@ -54,11 +54,7 @@ else()
INSTALL_DIR ${sqlite_INSTALL}
DOWNLOAD_DIR "${DOWNLOAD_LOCATION}"
CMAKE_CACHE_ARGS
- if(tensorflow_ENABLE_POSITION_INDEPENDENT_CODE)
- -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON
- else()
- -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=OFF
- endif()
+ -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=${tensorflow_ENABLE_POSITION_INDEPENDENT_CODE}
-DCMAKE_BUILD_TYPE:STRING=Release
-DCMAKE_VERBOSE_MAKEFILE:BOOL=OFF
-DCMAKE_INSTALL_PREFIX:STRING=${sqlite_INSTALL}