diff options
author | Zhiyong Dang <zhiyong.dang@ck-telecom.com> | 2018-02-01 18:12:43 -0800 |
---|---|---|
committer | Facebook Github Bot <facebook-github-bot@users.noreply.github.com> | 2018-02-01 18:57:38 -0800 |
commit | 4d656842d95f8c3d428934b526ba93488487de21 (patch) | |
tree | 231353faf740abd9c3a9b75d918a340234af7910 /CMakeLists.txt | |
parent | e138203d8fd4b4aecdd4ee37933907fc73a7a947 (diff) | |
download | pytorch-4d656842d95f8c3d428934b526ba93488487de21.tar.gz pytorch-4d656842d95f8c3d428934b526ba93488487de21.tar.bz2 pytorch-4d656842d95f8c3d428934b526ba93488487de21.zip |
enable USE_MOBILE_OPENGL by default
Summary:
iOS is also depend on USE_MOBILE_OPENGL, so I think we should only disable it for Android.
Closes https://github.com/caffe2/caffe2/pull/1835
Differential Revision: D6880522
Pulled By: Maratyszcza
fbshipit-source-id: b2c2fa052ad5948bc52fa49eb22c86eb08f59a39
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index bc376b379a..f347d05531 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,7 +35,7 @@ option(USE_LEVELDB "Use LEVELDB" ON) option(USE_LITE_PROTO "Use lite protobuf instead of full." OFF) option(USE_LMDB "Use LMDB" ON) option(USE_METAL "Use Metal for iOS build" ON) -option(USE_MOBILE_OPENGL "Use OpenGL for mobile code" OFF) +option(USE_MOBILE_OPENGL "Use OpenGL for mobile code" ON) option(USE_MPI "Use MPI" ON) option(USE_NATIVE_ARCH "Use -march=native" OFF) option(USE_NCCL "Use NCCL" ON) |