Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZLIB_COMPAT=ON: ZLIB.cmake -> ZLIBConfig.cmake #1646

Open
bebuch opened this issue Jan 22, 2024 · 1 comment
Open

ZLIB_COMPAT=ON: ZLIB.cmake -> ZLIBConfig.cmake #1646

bebuch opened this issue Jan 22, 2024 · 1 comment

Comments

@bebuch
Copy link
Contributor

bebuch commented Jan 22, 2024

When I install in ZLIB_COMPAT=ON mode, I get the files:

-- Up-to-date: C:/TechnoTeam/develop/usr/lib/cmake/ZLIB/ZLIB.cmake
-- Up-to-date: C:/TechnoTeam/develop/usr/lib/cmake/ZLIB/ZLIB-release.cmake
-- Up-to-date: C:/TechnoTeam/develop/usr/lib/cmake/ZLIB/ZLIB-debug.cmake
-- Up-to-date: C:/TechnoTeam/develop/usr/lib/cmake/ZLIB/ZLIB-relwithdebinfo.cmake

These files are not found as CMake Config files. It should have been:

-- Up-to-date: C:/TechnoTeam/develop/usr/lib/cmake/ZLIB/ZLIB-config.cmake
-- Up-to-date: C:/TechnoTeam/develop/usr/lib/cmake/ZLIB/ZLIB-targets-release.cmake
-- Up-to-date: C:/TechnoTeam/develop/usr/lib/cmake/ZLIB/ZLIB-targets-debug.cmake
-- Up-to-date: C:/TechnoTeam/develop/usr/lib/cmake/ZLIB/ZLIB-targets-relwithdebinfo.cmake

or

-- Up-to-date: C:/TechnoTeam/develop/usr/lib/cmake/ZLIB/ZLIBConfig.cmake
-- Up-to-date: C:/TechnoTeam/develop/usr/lib/cmake/ZLIB/ZLIBTargets-release.cmake
-- Up-to-date: C:/TechnoTeam/develop/usr/lib/cmake/ZLIB/ZLIBTargets-debug.cmake
-- Up-to-date: C:/TechnoTeam/develop/usr/lib/cmake/ZLIB/ZLIBTargets-relwithdebinfo.cmake
@mtl1979
Copy link
Collaborator

mtl1979 commented Jan 22, 2024

Neither zlib or zlib-ng contain function configure_package_config_file in CMakeLists.txt which would create ZLIB-config.cmake or ZLIBConfig.cmake.

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

No branches or pull requests

3 participants