Skip to content
This repository has been archived by the owner on Mar 29, 2021. It is now read-only.

Hunter 0.10.0 #1

Merged
merged 4 commits into from
Sep 28, 2017
Merged

Hunter 0.10.0 #1

merged 4 commits into from
Sep 28, 2017

Conversation

isaachier
Copy link

No description provided.

@ruslo ruslo changed the base branch from 0.10.0 to hunter-0.10.0 September 28, 2017 13:20
@PACKAGE_INIT@

include(CMakeFindDependencyMacro)
find_dependency(ZLIB)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need CONFIG here:

find_dependency doesn't support CONFIG so just use find_package here.


include(CMakeFindDependencyMacro)
find_dependency(ZLIB)
find_dependency(Libevent)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if(OPENSSL_FOUND AND WITH_OPENSSL)
if(WITH_OPENSSL)
hunter_add_package(OpenSSL)
find_package(OpenSSL REQUIRED)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Imported targets OpenSSL::SSL/OpenSSL::Crypto should be used here, otherwise package will not be relocatable.

@ruslo ruslo merged commit d2c3ef4 into hunter-packages:hunter-0.10.0 Sep 28, 2017
@ruslo
Copy link

ruslo commented Sep 28, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants