@@ -106,7 +106,7 @@ set(Boost_USE_STATIC_RUNTIME ON)
106106add_definitions (-DBOOST_SPIRIT_THREADSAFE )
107107
108108# define all needed boost libraries
109- set (BOOST_LIBS
109+ set (BOOST_COMPONENTS
110110 atomic
111111 chrono
112112 date_time
@@ -117,8 +117,8 @@ set(BOOST_LIBS
117117)
118118
119119# search boost libs
120- find_package (Boost 1.89.0 CONFIG REQUIRED COMPONENTS ${BOOST_LIBS } )
121- message ("-- Found Boost: ${BOOST_LIBS } " )
120+ find_package (Boost 1.89.0 CONFIG REQUIRED COMPONENTS ${BOOST_COMPONENTS } )
121+ message ("-- Found Boost ${Boost_VERSION_STRING} : ${BOOST_COMPONENTS } " )
122122
123123
124124## Thread Library
@@ -183,6 +183,7 @@ endif()
183183SET (OPENSSL_USE_STATIC_LIBS TRUE )
184184SET (OPENSSL_MSVC_STATIC_RT TRUE )
185185FIND_PACKAGE (OpenSSL REQUIRED )
186+ message ("-- Found OpenSSL ${OPENSSL_VERSION} " )
186187#Do not add OPENSSL_SSL_LIBRARY and OPENSSL_CRYPTO_LIBRARY here; it will be later
187188#if done here, this is too early, and for gcc the libraries appears in bad order regarding Poco for example
188189
@@ -215,7 +216,7 @@ endif(MSVC)
215216add_definitions (-DPOCO_EXTERNAL_OPENSSL=42 ) #force an unknown value (empty value do not work correctly)
216217
217218find_package (Poco CONFIG REQUIRED COMPONENTS ${POCO_COMPONENTS} )
218- message ("-- Found Poco: ${POCO_COMPONENTS} " )
219+ message ("-- Found Poco ${Poco_VERSION} : ${POCO_COMPONENTS} " )
219220set (Poco_TARGETS)
220221foreach (c IN LISTS POCO_COMPONENTS)
221222 list (APPEND Poco_TARGETS Poco::${c} )
@@ -239,7 +240,7 @@ if(PROTOBUF_ROOT)
239240endif ()
240241set (Protobuf_USE_STATIC_LIBS ON )
241242find_package (Protobuf MODULE 3.1.0 REQUIRED )
242- message ("-- Found Protobuf: ${Protobuf_VERSION} " )
243+ message ("-- Found Protobuf ${Protobuf_VERSION} " )
243244
244245
245246###############################################
0 commit comments