mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 00:11:07 -06:00
Tests/RunCMake/Diab: Explicitly specify ASM compiler for asm test
Do not depend on detection of ASM compiler to run the asm test. Specify `CMAKE_ASM_COMPILER` explicitly. Fixes: #26864
This commit is contained in:
@@ -36,7 +36,6 @@ foreach(_diab_toolchain IN LISTS _diab_toolchains)
|
||||
|
||||
# Create an executable from mixed, c, cxx and assembly.
|
||||
run_toolchain(diab-asm
|
||||
-DCMAKE_C_COMPILER=${c_comp}
|
||||
-DCMAKE_CXX_COMPILER=${cxx_comp}
|
||||
-DCMAKE_ASM_COMPILER=${c_comp}
|
||||
)
|
||||
endforeach()
|
||||
|
||||
Reference in New Issue
Block a user