mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 04:40:18 -05: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.
|
# Create an executable from mixed, c, cxx and assembly.
|
||||||
run_toolchain(diab-asm
|
run_toolchain(diab-asm
|
||||||
-DCMAKE_C_COMPILER=${c_comp}
|
-DCMAKE_ASM_COMPILER=${c_comp}
|
||||||
-DCMAKE_CXX_COMPILER=${cxx_comp}
|
|
||||||
)
|
)
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|||||||
Reference in New Issue
Block a user