Skip to content

fix build: change zstd and yaml-cpp in Find*.cmake to be compatible …#1176

Open
botanegg wants to merge 1 commit intouserver-framework:developfrom
botanegg:fix-lib-naming-for-cmake-find-package-prefer-config
Open

fix build: change zstd and yaml-cpp in Find*.cmake to be compatible …#1176
botanegg wants to merge 1 commit intouserver-framework:developfrom
botanegg:fix-lib-naming-for-cmake-find-package-prefer-config

Conversation

@botanegg
Copy link
Copy Markdown
Contributor

…with upstream names

required to fix errors and warnings when -DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON


Note: by creating a PR or an issue you automatically agree to the CLA. See CONTRIBUTING.md. Feel free to remove this note, the agreement holds.

…ith upstream names

required to fix errors and warnings when -DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON
@botanegg botanegg force-pushed the fix-lib-naming-for-cmake-find-package-prefer-config branch from 6ec9b7a to c92a740 Compare April 13, 2026 14:25
@botanegg botanegg changed the title feat build: change zstd and yaml-cpp in Find*.cmake to be compatible … fix build: change zstd and yaml-cpp in Find*.cmake to be compatible … Apr 13, 2026
@apolukhin
Copy link
Copy Markdown
Member

Error on Debian:

The link interface of target "RocksDB::rocksdb" contains:

    zstd::zstd

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/rocksdb/RocksDBConfig.cmake:87 (include)
  cmake/SetupRocksDB.cmake:10 (find_package)
  rocks/CMakeLists.txt:3 (include)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants