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

CMake later versions support #4

Open
parvit opened this issue Aug 26, 2024 · 0 comments
Open

CMake later versions support #4

parvit opened this issue Aug 26, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@parvit
Copy link
Collaborator

parvit commented Aug 26, 2024

Right now CMake can be at a maximum of version 3.22 to allow finding the local OpenSSL lib.

The version should be able to go up to current versions.

Example:

+ pushd gen_quicly
~/repo/qpep/backend/quicly-go/gen_quicly ~/repo/qpep/backend/quicly-go
+ cmake ../deps/quicly '-GUnix Makefiles' -DCMAKE_INSTALL_PREFIX=/home/ubuntu/repo/qpep/backend/quicly-go/internal/deps -DOPENSSL_ROOT_DIR=/home/ubuntu/repo/qpep/backend/quicly-go/internal/deps/include -DCMAKE_BUILD_TYPE=Release -DWITH_EXAMPLE=OFF
CMake Deprecation Warning at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
 Compatibility with CMake < 3.5 will be removed from a future version of
 CMake.
 Update the VERSION argument <min> value or use a ...<max> suffix to tell
 CMake that the project does not need compatibility with older versions.
CMake Error at /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
 Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
 system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY) (found
 version "1.1.1t")
Call Stack (most recent call first):
 /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
 /usr/share/cmake-3.28/Modules/FindOpenSSL.cmake:668 (find_package_handle_standard_args)
 CMakeLists.txt:12 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!

ubuntu@ip-<redacted>:~/repo/qpep/backend$ cmake --version
cmake version 3.28.3
@parvit parvit added the bug Something isn't working label Aug 26, 2024
@parvit parvit self-assigned this Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants
@parvit and others