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
This commit is contained in:
Josef Angstenberger
2025-02-05 00:05:35 +01:00
committed by Brad King
parent 4148fe5487
commit 754210a3f6

View File

@@ -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")