Skip to content

Commit

Permalink
Use find_package Ceres in CONFIG mode
Browse files Browse the repository at this point in the history
Since we use vcpkg for the Ceres dependency now.
  • Loading branch information
patrikhuber committed Dec 10, 2024
1 parent 5a76f94 commit 11023a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/data DESTINATION bin)

if(EOS_BUILD_CERES_EXAMPLE)
# Find Ceres, for the fit-model-ceres app:
find_package(Ceres REQUIRED)
find_package(Ceres CONFIG REQUIRED)

# Single and multi-image non-linear model fitting with Ceres example:
add_executable(fit-model-ceres fit-model-ceres.cpp)
Expand Down

0 comments on commit 11023a6

Please sign in to comment.