# Try to find the SHLWAPI librairy
# SHLWAPI_FOUND - system has SHLWAPI lib
# SHLWAPI_INCLUDE_DIR - the SHLWAPI include directory
# SHLWAPI_LIBRARY - Libraries needed to use SHLWAPI

if(SHLWAPI_INCLUDE_DIR AND SHLWAPI_LIBRARY)
	# Already in cache, be silent
	set(SHLWAPI_FIND_QUIETLY TRUE)
endif()

find_path(SHLWAPI_INCLUDE_DIR NAMES shlwapi.h)
find_library(SHLWAPI_LIBRARY NAMES shlwapi)
message(STATUS "SHLWAPI lib: " ${SHLWAPI_LIBRARY})

mark_as_advanced(SHLWAPI_INCLUDE_DIR SHLWAPI_LIBRARY)
