mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 06:40:48 -06:00
This was intended to be part of the initial MR (!6177), but accidentally went missing when debugging nightly failures on less common systems. Noticed during !6711 review as the comment about this behaviour didn't match the code. Documentation for CMP0128 is updated to remove a false case and note the two cases related to this. Fixes #22224.
10 lines
435 B
CMake
10 lines
435 B
CMake
enable_language(@lang@)
|
|
|
|
# Make sure the compile command is not hidden.
|
|
string(REPLACE "${CMAKE_START_TEMP_FILE}" "" CMAKE_@lang@_COMPILE_OBJECT "${CMAKE_@lang@_COMPILE_OBJECT}")
|
|
string(REPLACE "${CMAKE_END_TEMP_FILE}" "" CMAKE_@lang@_COMPILE_OBJECT "${CMAKE_@lang@_COMPILE_OBJECT}")
|
|
|
|
set(CMAKE_@lang@_EXTENSIONS @extensions_opposite@)
|
|
set(CMAKE_@lang@_STANDARD @standard_default@)
|
|
add_library(foo "@RunCMake_SOURCE_DIR@/empty.@ext@")
|