aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorZeex <zeex@rocketmail.com>2018-09-01 17:22:52 +0600
committerZeex <zeex@rocketmail.com>2018-09-01 17:23:03 +0600
commit1359cc65ed08bb3c71ceb967ae2dd8deebaf74f5 (patch)
treebb16f533533f92d78204ab1656f8529235425567 /cmake
parenta3913c665a0d8916a01d58c1bff8c10500332a7b (diff)
downloadsubhook-1359cc65ed08bb3c71ceb967ae2dd8deebaf74f5.zip
subhook-1359cc65ed08bb3c71ceb967ae2dd8deebaf74f5.tar.gz
subhook-1359cc65ed08bb3c71ceb967ae2dd8deebaf74f5.tar.bz2
Fix FindYasm error on Windows
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindYasm.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/FindYasm.cmake b/cmake/FindYasm.cmake
index 7cb1b83..2fcf410 100644
--- a/cmake/FindYasm.cmake
+++ b/cmake/FindYasm.cmake
@@ -1,9 +1,9 @@
include(FindPackageHandleStandardArgs)
-find_file(YASM_EXECUTABLE yasm)
+find_file(YASM_EXECUTABLE NAMES yasm yasm.exe)
mark_as_advanced(YASM_EXECUTABLE)
find_package_handle_standard_args(Yasm
FOUND_VAR YASM_FOUND
REQUIRED_VARS YASM_EXECUTABLE
-) \ No newline at end of file
+)