Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 684 B view raw
1diff --git a/CMakeLists.txt b/CMakeLists.txt 2index eadfc045..b6f273a6 100644 3--- a/CMakeLists.txt 4+++ b/CMakeLists.txt 5@@ -20,8 +20,7 @@ if (NOT hasParent) 6 # In development mode, when the whole zxing-cpp directory is checked out, build against head code. 7 add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../../core ZXing EXCLUDE_FROM_ALL) 8 9- include(${CMAKE_CURRENT_SOURCE_DIR}/../../zxing.cmake) 10- zxing_add_package(pybind11 pybind11 ${pybind11_git_repo} ${pybind11_git_rev}) 11+ find_package(pybind11 CONFIG) 12 else() 13 # we don't have access to the top-level cmake helpers -> simply fetch it unconditional 14 include(FetchContent)