You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The syntax of find_package in CMakeLists.txt will result in failure while trying to find zlib :
$ cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON ..
CMake Warning (dev) at /usr/share/cmake/Modules/FindZLIB.cmake:88 (message):
ZLIB does not provide any COMPONENTS. Calling
find_package(ZLIB COMPONENTS ...)
will always fail.
Call Stack (most recent call first):
CMakeLists.txt:222 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find ZLIB (missing: 1.0) (found version "1.2.13")
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindZLIB.cmake:200 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:222 (find_package)
-- Configuring incomplete, errors occurred!
The syntax of find_package in CMakeLists.txt will result in failure while trying to find zlib :
I used the following syntax :
The text was updated successfully, but these errors were encountered: