summaryrefslogtreecommitdiffstats
path: root/project/cmake/addons/depends/windows/Find7Zip.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'project/cmake/addons/depends/windows/Find7Zip.cmake')
-rw-r--r--project/cmake/addons/depends/windows/Find7Zip.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/project/cmake/addons/depends/windows/Find7Zip.cmake b/project/cmake/addons/depends/windows/Find7Zip.cmake
new file mode 100644
index 0000000..82b0902
--- /dev/null
+++ b/project/cmake/addons/depends/windows/Find7Zip.cmake
@@ -0,0 +1,7 @@
1find_program(7ZIP_EXECUTABLE NAMES 7z.exe
2 HINTS PATHS "c:/Program Files/7-Zip")
3
4include(FindPackageHandleStandardArgs)
5find_package_handle_standard_args(7Zip DEFAULT_MSG 7ZIP_EXECUTABLE)
6
7mark_as_advanced(7ZIP_EXECUTABLE)