From 754210a3f67ee5d99249f3b397090d30945e973a Mon Sep 17 00:00:00 2001 From: Josef Angstenberger Date: Wed, 5 Feb 2025 00:05:35 +0100 Subject: Tasking: Set object extension to .o The extension `.o` is used by the compiler itself, and is the only one found in its documentation. Issue: #26426 --- Modules/Compiler/Tasking.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/Compiler/Tasking.cmake b/Modules/Compiler/Tasking.cmake index fa89f9c..cc6a545 100644 --- a/Modules/Compiler/Tasking.cmake +++ b/Modules/Compiler/Tasking.cmake @@ -22,6 +22,7 @@ if(NOT CMAKE_TASKING_TOOLSET) endif() macro(__compiler_tasking lang) + set(CMAKE_${lang}_OUTPUT_EXTENSION ".o") set(CMAKE_${lang}_VERBOSE_FLAG "-v") set(CMAKE_${lang}_COMPILE_OPTIONS_PIC "--pic") -- cgit v0.12