Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
996a4bbb
Commit
996a4bbb
authored
May 31, 2018
by
Davis King
Browse files
Fixed cmake erroring out in some situations.
parent
e27fcb2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/cmake_utils/test_for_avx/CMakeLists.txt
dlib/cmake_utils/test_for_avx/CMakeLists.txt
+1
-1
No files found.
dlib/cmake_utils/test_for_avx/CMakeLists.txt
View file @
996a4bbb
...
...
@@ -14,7 +14,7 @@ try_run(run_result compile_result ${PROJECT_BINARY_DIR}/avx_test_try_run_build $
message
(
STATUS
"run_result =
${
run_result
}
"
)
message
(
STATUS
"compile_result =
${
compile_result
}
"
)
if
(
${
run_result
}
EQUAL 0 AND compile_result
)
if
(
"
${
run_result
}
"
EQUAL 0 AND compile_result
)
message
(
STATUS
"Ran AVX test program successfully, you have AVX available."
)
else
()
message
(
STATUS
"Unable to run AVX test program, you don't seem to have AVX instructions available."
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment