3 # This function is a wrapper for find_library() that does handle vcpkg exported
4 # library directory structure
6 function(FindWSLibrary OUTPUT_LIBRARY)
16 find_library(${OUTPUT_LIBRARY}_DEBUG
18 HINTS "${WS_LIB_WIN32_HINTS}/debug/lib"
21 find_library(${OUTPUT_LIBRARY}_RELEASE
23 HINTS "${WS_LIB_WIN32_HINTS}/lib"
27 if (${OUTPUT_LIBRARY}_DEBUG AND ${OUTPUT_LIBRARY}_RELEASE)
28 set(${OUTPUT_LIBRARY} debug ${${OUTPUT_LIBRARY}_DEBUG} optimized ${${OUTPUT_LIBRARY}_RELEASE} PARENT_SCOPE)
31 find_library(${OUTPUT_LIBRARY}