Fix detecting static 3rd party libs

This commit is contained in:
Martchus 2016-08-19 16:17:26 +02:00
parent 78b4f9f286
commit a628f0383a
1 changed files with 18 additions and 2 deletions

View File

@ -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)