Skip to content

Commit

Permalink
Merge pull request openMVG#1980 from openMVG/develop_cereal
Browse files Browse the repository at this point in the history
Develop cereal - test CI
  • Loading branch information
pmoulon authored Dec 8, 2021
2 parents ae40248 + 55f3eec commit 292568e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -237,15 +237,14 @@ ENDMACRO(UNIT_TEST)
# - internal if cereal not found
# ==============================================================================
find_package(cereal QUIET CONFIG)
if (NOT TARGET cereal)
if (NOT cereal_FOUND)
add_library(cereal INTERFACE)
target_include_directories(cereal
INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/dependencies/cereal/include>
$<INSTALL_INTERFACE:include/openMVG_dependencies/cereal/include>
)
install(TARGETS cereal EXPORT openMVG-targets)

set(OpenMVG_USE_INTERNAL_CEREAL ON)
endif()

Expand Down

0 comments on commit 292568e

Please sign in to comment.