CMake: correct bad change to ceres linking
authorCampbell Barton <ideasman42@gmail.com>
Thu, 18 Apr 2019 10:30:44 +0000 (12:30 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 18 Apr 2019 10:44:17 +0000 (12:44 +0200)
Revert part of 45055199a2e51

extern/ceres/CMakeLists.txt

index bd3d7f7..4ab3bff 100644 (file)
@@ -257,14 +257,9 @@ set(SRC
 )
 
 set(LIB
+  extern_glog
 )
 
-if(WITH_LIBMV OR WITH_GTESTS OR (WITH_CYCLES AND WITH_CYCLES_LOGGING))
-  list(APPEND LIB
-    extern_glog
-  )
-endif()
-
 if(WITH_LIBMV_SCHUR_SPECIALIZATIONS)
   list(APPEND SRC
     internal/ceres/generated/partitioned_matrix_view_2_2_2.cc