From 7704ed31ff9409a0ec282e73df155825339ebb82 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 28 Apr 2015 13:40:18 -0700 Subject: [PATCH] cmake: missing space This caused cut to fail and the whole dll dependency calculation went wrong. Signed-off-by: Dirk Hohndel --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e4defa1cb..d4ebdd6f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -488,7 +488,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows") # linker used contains a space... execute_process( COMMAND tail -1 CMakeFiles/subsurface.dir/link.txt - COMMAND cut -d\\ -f 2- + COMMAND cut -d\\ -f 2- OUTPUT_VARIABLE LINKER_LINE OUTPUT_STRIP_TRAILING_WHITESPACE )