diff --git a/libs/libiio/patches/001-quote-strequal.patch b/libs/libiio/patches/001-quote-strequal.patch new file mode 100644 index 000000000..d8b91f89b --- /dev/null +++ b/libs/libiio/patches/001-quote-strequal.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt 2017-10-23 22:24:46.000000000 +0200 ++++ b/CMakeLists.txt 2017-11-18 20:31:27.943838662 +0100 +@@ -111,7 +111,7 @@ + OUTPUT_STRIP_TRAILING_WHITESPACE + ) + +- if (${LIBIIO_GIT_REPO} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR}) ++ if ("${LIBIIO_GIT_REPO}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}") + execute_process( + COMMAND ${GIT_EXECUTABLE} rev-parse --short HEAD + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}