Skip to content
Snippets Groups Projects
Commit 0c0b7d2a authored by Martyn Gigg's avatar Martyn Gigg
Browse files

Check existence of Poco debug libraries before using them

parent d6eb73a2
Branches 28185_remove_warning_only_visible_to_devs_on_startup
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ find_library ( POCO_LIB_NETSSL_DEBUG NAMES PocoNetSSLd ) ...@@ -22,7 +22,7 @@ find_library ( POCO_LIB_NETSSL_DEBUG NAMES PocoNetSSLd )
function( add_poco_lib POCO_LIB_MODULE POCO_DEBUG_LIB_MODULE ) 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 # 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} set ( POCO_LIBRARIES ${POCO_LIBRARIES}
optimized ${POCO_LIB_MODULE} optimized ${POCO_LIB_MODULE}
debug ${POCO_DEBUG_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