a66bca1520
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
14 lines
684 B
Diff
14 lines
684 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index eadfc045..b6f273a6 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -20,8 +20,7 @@ if (NOT hasParent)
|
|
# In development mode, when the whole zxing-cpp directory is checked out, build against head code.
|
|
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../../core ZXing EXCLUDE_FROM_ALL)
|
|
|
|
- include(${CMAKE_CURRENT_SOURCE_DIR}/../../zxing.cmake)
|
|
- zxing_add_package(pybind11 pybind11 ${pybind11_git_repo} ${pybind11_git_rev})
|
|
+ find_package(pybind11 CONFIG)
|
|
else()
|
|
# we don't have access to the top-level cmake helpers -> simply fetch it unconditional
|
|
include(FetchContent)
|