From 430b0cb77de8ddbe3882e0ab6d409967d69ecd4c Mon Sep 17 00:00:00 2001 From: Hamish Coleman Date: Mon, 1 Nov 2021 09:07:28 +0000 Subject: [PATCH] Fix CMakeFile version number embedded NL --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index cba8781..c105f1c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,7 @@ execute_process( WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} OUTPUT_VARIABLE N2N_VERSION ) +string(STRIP "${N2N_VERSION}" N2N_VERSION) set(N2N_OSNAME ${CMAKE_SYSTEM_NAME}) execute_process( COMMAND git status