projects
/
platform
/
upstream
/
Vulkan-Loader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96a189b
)
cmake: Fix x86 / x64 check
author
Juan Ramos
<juan@lunarg.com>
Fri, 27 Oct 2023 23:33:56 +0000
(17:33 -0600)
committer
Juan Ramos
<114601453+juan-lunarg@users.noreply.github.com>
Sat, 28 Oct 2023 00:16:37 +0000
(18:16 -0600)
closes #1356
loader/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/loader/CMakeLists.txt
b/loader/CMakeLists.txt
index 8223d87506a36926f55db80581e782bb3b01e34c..54a98aae6e4393b02f0d0dc3788fa1dd66a49c4b 100644
(file)
--- a/
loader/CMakeLists.txt
+++ b/
loader/CMakeLists.txt
@@
-229,7
+229,8
@@
elseif(UNIX) # i.e.: Linux & Apple
if(ASSEMBLER_WORKS)
set(OPT_LOADER_SRCS ${OPT_LOADER_SRCS} unknown_ext_chain_gas_aarch64.S)
endif()
- elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86_64|amd64|x86|^i.86$")
+ # Covers x86_64, amd64, x86, i386, i686, I386, I686
+ elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "amd64|86")
check_include_file("cet.h" HAVE_CET_H)
if(HAVE_CET_H)
target_compile_definitions(loader_specific_options INTERFACE HAVE_CET_H)