Skip to content

Commit

Permalink
Merge pull request #1262 from p12tic/fix-dependency-build-cmake
Browse files Browse the repository at this point in the history
[cmake] Add clp dependencies to AliceVisionConfig.cmake.in
  • Loading branch information
fabiencastan authored Oct 6, 2022
2 parents 3d8ec2a + 09debf7 commit 6295a90
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/cmake/AliceVisionConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,13 @@ if(BOOST_NO_CXX11)
add_definitions(-DBOOST_NO_CXX11_SCOPED_ENUMS)
endif()

set(ALICEVISION_BUILD_SFM @ALICEVISION_BUILD_SFM@)
if(ALICEVISION_BUILD_SFM)
find_package(CoinUtils REQUIRED)
find_package(Clp REQUIRED)
find_package(Osi REQUIRED)
endif()

# propagate other building options
set(ALICEVISION_HAVE_OPENGV @ALICEVISION_HAVE_OPENGV@)
set(ALICEVISION_HAVE_ALEMBIC @ALICEVISION_HAVE_ALEMBIC@)
Expand Down

0 comments on commit 6295a90

Please sign in to comment.