diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-16 15:10:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-16 15:11:17 +0300 |
commit | 45055199a2e515400ad5027edf9f8e72bfb8a948 (patch) | |
tree | 1bd4fde9b7a596397f040d224484641c26d0af96 /extern/glog/CMakeLists.txt | |
parent | 8535f4d07326ee351d5b889109e1c3e881b4905c (diff) |
CMake: fix building without libmv
Diffstat (limited to 'extern/glog/CMakeLists.txt')
-rw-r--r-- | extern/glog/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/extern/glog/CMakeLists.txt b/extern/glog/CMakeLists.txt index 47c5063be1f..05a6590ea81 100644 --- a/extern/glog/CMakeLists.txt +++ b/extern/glog/CMakeLists.txt @@ -54,9 +54,14 @@ set(SRC ) set(LIB - extern_gflags ) +if(NOT WITH_SYSTEM_GFLAGS) + list(APPEND LIB + extern_gflags + ) +endif() + if(WIN32) list(APPEND SRC src/windows/port.cc |