From fa6c45b092a2ee88e42fa039ac78fc02a97d9a97 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Sat, 15 Nov 2014 04:01:31 +0500 Subject: Cycles: Fix compilation error with enabled looging but disabled libmv --- extern/libmv/CMakeLists.txt | 2 +- extern/libmv/bundle.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'extern/libmv') diff --git a/extern/libmv/CMakeLists.txt b/extern/libmv/CMakeLists.txt index 69632b31685..10d99a2a316 100644 --- a/extern/libmv/CMakeLists.txt +++ b/extern/libmv/CMakeLists.txt @@ -262,7 +262,7 @@ if(WITH_LIBMV) endif() # make GLog a separate target, so it can be used for gtest as well. -if(WITH_LIBMV OR WITH_GTESTS) +if(WITH_LIBMV OR WITH_GTESTS OR WITH_CYCLES_LOGGING) # We compile GLog together with GFlag so we don't worry about # adding extra lib to linker. set(GLOG_SRC diff --git a/extern/libmv/bundle.sh b/extern/libmv/bundle.sh index 1ac377e17fe..45b0e27f126 100755 --- a/extern/libmv/bundle.sh +++ b/extern/libmv/bundle.sh @@ -224,7 +224,7 @@ if(WITH_LIBMV) endif() # make GLog a separate target, so it can be used for gtest as well. -if(WITH_LIBMV OR WITH_GTESTS) +if(WITH_LIBMV OR WITH_GTESTS OR WITH_CYCLES_LOGGING) # We compile GLog together with GFlag so we don't worry about # adding extra lib to linker. set(GLOG_SRC -- cgit v1.2.3