mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03: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