summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-12-05 17:51:05 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-12-05 17:51:23 (GMT)
commit60fc165dcb9211ed0dda20ee2887414f339c5d9a (patch)
tree971dc6664163ecc240cde1dc5cf6e1c219d8063b /Modules
parent2d74078d37400f3bb553c055c0395fc42f9b00de (diff)
parent9273b8f42113950f9f87d3e5e3685b8fb4071077 (diff)
downloadCMake-60fc165dcb9211ed0dda20ee2887414f339c5d9a.zip
CMake-60fc165dcb9211ed0dda20ee2887414f339c5d9a.tar.gz
CMake-60fc165dcb9211ed0dda20ee2887414f339c5d9a.tar.bz2
Merge topic 'CheckSymbolExists-restore-newline' into release-3.25
9273b8f421 CheckSymbolExists: Restore newline at end of test source Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Petr Nechaev <petr.nechaev@cogentembedded.com> Merge-request: !7979
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CheckSymbolExists.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CheckSymbolExists.cmake b/Modules/CheckSymbolExists.cmake
index 0d44d56..722d50f 100644
--- a/Modules/CheckSymbolExists.cmake
+++ b/Modules/CheckSymbolExists.cmake
@@ -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)