Skip to content
Snippets Groups Projects
Unverified Commit ee918f3a authored by Savici, Andrei T.'s avatar Savici, Andrei T. Committed by GitHub
Browse files

Merge pull request #23136 from martyngigg/poco-cmake-missing-debug-libs

Check existence of Poco debug libraries before using them
parents 00fa6ace 0c0b7d2a
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ find_library ( POCO_LIB_NETSSL_DEBUG NAMES PocoNetSSLd )
function( add_poco_lib POCO_LIB_MODULE POCO_DEBUG_LIB_MODULE )
# Add poco library to list and also the corresponding debug library if it is available
if ( POCO_DEBUG_LIB_MODULE )
if ( EXISTS "${POCO_DEBUG_LIB_MODULE}" )
set ( POCO_LIBRARIES ${POCO_LIBRARIES}
optimized ${POCO_LIB_MODULE}
debug ${POCO_DEBUG_LIB_MODULE}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment