Fix detecting static 3rd party libs
This commit is contained in:
parent
78b4f9f286
commit
a628f0383a
|
@ -48,8 +48,24 @@ use_cpp_utilities()
|
|||
|
||||
# find 3rd party libraries
|
||||
include(3rdParty)
|
||||
use_external_library_from_package(ZLIB ANY_VERSION ZLIB_INCLUDE_DIRS ZLIB_LIBRARIES AUTO_LINKAGE REQUIRED) # zlib
|
||||
use_external_library_from_package(OpenSSL ANY_VERSION OPENSSL_INCLUDE_DIR OPENSSL_CRYPTO_LIBRARY AUTO_LINKAGE REQUIRED) # OpenSSL
|
||||
# zlib
|
||||
use_external_library_from_package(
|
||||
z
|
||||
ZLIB ANY_VERSION
|
||||
ZLIB_INCLUDE_DIRS
|
||||
ZLIB_LIBRARIES
|
||||
AUTO_LINKAGE
|
||||
REQUIRED
|
||||
)
|
||||
# crypto library from OpenSSL
|
||||
use_external_library_from_package(
|
||||
crypto
|
||||
OpenSSL ANY_VERSION
|
||||
OPENSSL_INCLUDE_DIR
|
||||
OPENSSL_CRYPTO_LIBRARY
|
||||
AUTO_LINKAGE
|
||||
REQUIRED
|
||||
)
|
||||
|
||||
# include modules to apply configuration
|
||||
include(BasicConfig)
|
||||
|
|
Loading…
Reference in New Issue