blob: ca6823b95850b8f71f32682417e936c311d4eb57 [file] [log] [blame]
--- codelite/cmake/Modules/FindClang.cmake.orig 2017-06-22 12:25:51.350745000 +0300
+++ codelite/cmake/Modules/FindClang.cmake 2017-06-22 12:27:27.276231600 +0300
@@ -62,7 +62,7 @@
if (MINGW)
set(CLANG_LDFLAGS "${CLANG_LDFLAGS} ${LLVM_SYSTEM_LIBS}")
endif()
-
+ string(STRIP ${CLANG_LDFLAGS} CLANG_LDFLAGS)
else (CLANG_FOUND)
if (CLANG_FIND_REQUIRED)
message(FATAL_ERROR "Could NOT find Clang")