mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 10:50:16 -06:00
CheckSymbolExists: Restore newline at end of test source
Refactoring in commit db76876db5 (Modules: Use new SOURCES_FROM_*
try_compile (1/2), 2022-09-26, v3.25.0-rc1~74^2~1) accidentally dropped
the final newline of the test source, which was previously provided by
the input to `configure_file`. The C standard requires a newline at the
end of file, so add one explicitly.
Signed-off-by: Andrey Vostrikov <andrey.vostrikov@cogentembedded.com>
This commit is contained in:
committed by
Brad King
parent
0b6bfb1ed8
commit
9273b8f421
@@ -136,7 +136,7 @@ int main(int argc, char** argv)
|
||||
${_CSE_CHECK_NON_MACRO}")
|
||||
endif()
|
||||
string(APPEND _CSE_SOURCE "
|
||||
}")
|
||||
}\n")
|
||||
unset(_CSE_CHECK_NON_MACRO)
|
||||
|
||||
if(NOT CMAKE_REQUIRED_QUIET)
|
||||
|
||||
Reference in New Issue
Block a user