image_analysis: force Ceres to build without CUDA
USE_CUDA is a Ceres cache STRING (default "default" = auto-detect), not an option(), so a plain SET was shadowed by the cache default and CUDA got enabled on MSVC. Force it OFF in the cache instead. Also drop two dead settings: MINIGLOG (Ceres uses abseil logging now, no longer referenced) and EIGENSPARSE ON (already Ceres' default). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
SET(MINIGLOG ON)
|
||||
SET(PROVIDE_UNINSTALL_TARGET OFF)
|
||||
SET(USE_CUDA OFF)
|
||||
SET(EIGENSPARSE ON)
|
||||
SET(USE_CUDA OFF CACHE BOOL "Force Ceres to build without CUDA" FORCE)
|
||||
|
||||
# Prevent MKL from being found (guarantees no MKL)
|
||||
SET(CMAKE_DISABLE_FIND_PACKAGE_MKL TRUE)
|
||||
|
||||
Reference in New Issue
Block a user