Added FindShlwapi.cmake in lieu of pragma comment() in fileref.h.

This commit is contained in:
Festus Hagen
2013-05-25 01:51:26 -04:00
parent 54fbe15611
commit b3f3eeeec7
4 changed files with 32 additions and 4 deletions

14
cmake/modules/FindShlwapi.cmake Executable file
View File

@ -0,0 +1,14 @@
# *
# * It is what it is, you can do with it as you please.
# *
# * Just don't blame me if it teaches your computer to smoke!
# *
# * -Enjoy
# * fh :)_~
# *
FIND_PATH(SHLWAPI_INCLUDE_DIR shlwapi.h)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(SHLWAPI REQUIRED_VARS SHLWAPI_LIBRARY SHLWAPI_INCLUDE_DIR)
IF(SHLWAPI_FOUND)
SET(SHLWAPI_LIBRARIES ${SHLWAPI_LIBRARY} )
ENDIF(SHLWAPI_FOUND)