depot/third_party/nixpkgs/pkgs/games/performous/performous-cmake.patch
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

18 lines
718 B
Diff

diff --git a/cmake/Modules/FindCed.cmake b/cmake/Modules/FindCed.cmake
index 5794bc84..08d6b49d 100644
--- a/cmake/Modules/FindCed.cmake
+++ b/cmake/Modules/FindCed.cmake
@@ -22,12 +22,7 @@ elseif(SELF_BUILT_CED STREQUAL "AUTO")
pkg_check_modules(CED IMPORTED_TARGET GLOBAL CED)
if(NOT CED_FOUND)
message(STATUS "ced build from source because not found on system")
- libfetch_git_pkg(Ced
- REPOSITORY ${SELF_BUILT_GIT_BASE}/compact_enc_det.git
- #https://github.com/google/compact_enc_det.git
- REFERENCE ${Ced_GIT_VERSION}
- FIND_PATH compact_enc_det/compact_enc_det.h
- )
+ add_subdirectory(../ced-src ced-src)
else()
add_library(ced ALIAS PkgConfig::CED)
set(Ced_VERSION ${CED_VERSION})