diff options
author | Festus Hagen <festushagen2002@yahoo.com> | 2013-05-25 01:51:26 -0400 |
---|---|---|
committer | Festus Hagen <festushagen2002@yahoo.com> | 2013-05-25 01:58:49 -0400 |
commit | b3f3eeeec7f875e68a386c4839b577ff91d02bec (patch) | |
tree | 27ed7e3f2843b048253590e714e6ffd5ac16e344 /cmake | |
parent | 54fbe156111ec8e2e9d3de62f14c910e115e0b59 (diff) |
Added FindShlwapi.cmake in lieu of pragma comment() in fileref.h.
Diffstat (limited to 'cmake')
-rwxr-xr-x | cmake/modules/FindShlwapi.cmake | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cmake/modules/FindShlwapi.cmake b/cmake/modules/FindShlwapi.cmake new file mode 100755 index 00000000..cba253f0 --- /dev/null +++ b/cmake/modules/FindShlwapi.cmake @@ -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)
+
|